[jboss-dev-forums] [Design of AOP on JBoss (Aspects/JBoss)] - Re: Implementing JAXB style parsing for aop-mc-int
kabir.khan@jboss.com
do-not-reply at jboss.com
Wed Mar 5 08:02:18 EST 2008
Reading this thread http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4134204#4134204 I came back to this. Regarding 3) What would this xsd:refine map to in jaxb annotations? My understanding was that using jaxb it generates a schema from the annotations?
Apart from that, if I have understood you correctly, mc-commons.xsd would contain the current bean_deployer_2_0.xsd.
I would then be able to do
| <aop>
| <bean name="Bean" class="Foo"/>
| <aspect class="MyAspect" scope="PER_VM">
| <property name="thing">XXX</property>
| </aspect>
| </aop>
|
If I wanted to do this the other way around, I would need to use xmlns on the aop specific elements
| <deployment>
| <bean name="Bean" class="Foo"/>
| <aspect xmlns:aop="urn:jboss:aop-beans:1.0" class="MyAspect" scope="PER_VM">
| <property name="thing">XXX</property>
| </aspect>
| </deployment>
|
I'm not sure what the xmlns should be for property, but apart from that is my understanding correct?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4134223#4134223
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4134223
More information about the jboss-dev-forums
mailing list