[jboss-user] [JBoss AOP] - Several .aop archive in the same .ear

djoukit do-not-reply at jboss.com
Thu Aug 23 13:00:43 EDT 2007


Hi all,

I use JBoss 4.2 and JBoss AOP dynamic weaving.

I tried to deploy several .aop archive in the same .ear and it worked well.
I have four .aop archive and I reference them in the META-INF/application.xml file of my ear.

...
  |   <module id="myeclipse.1176813227531">
  |     <ejb>myAopArchive_1.aop</ejb>
  |   </module>
  |   <module id="myeclipse.1177583403312">
  |     <ejb>myAopArchive_2.aop</ejb>
  |   </module>
  |   <module id="myeclipse.1180692708546">
  |     <ejb>myAopArchive_3.aop</ejb>
  |   </module>
  |   <module id="myeclipse.1180692708558">
  |     <ejb>myAopArchive_4.aop</ejb>
  |   </module>
  | ...

When I deploy my .ear, everything works fine but the problem is that I may have several aspect inpacting the same method. Therefore I would like to be able to specify an order for the four .aop archive.
I tried to change the declaration order in the application.xml file but didn't get any results.

Is there a way to specify an order for my .aop archives ?

Thanks in advance for your help.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077454#4077454

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077454



More information about the jboss-user mailing list