[jboss-user] [JBoss AOP] - Where to run maven plugin in a ear

avihaimar do-not-reply at jboss.com
Wed Oct 17 15:25:46 EDT 2007


Hey,

For simplicity lets say that my application is package as an ear that contain two jars:
1. model
2. server

i have the follwoing aop:
<aop>
  |     <bind pointcut="execution(void $instanceof{com.model.AAA}->set*(..))">
  |         <interceptor class="com.server.BBBInterceptor"/>
  |     </bind>
  | </aop>

As you see the interceptor is server class because it use DS to connect to data base.

The class that is intercepted is a model class.

So where is should run the maven-jbossaop-plugin in the model or in the server?

My client (SWT client) also use this model jar. Will i have a problem with this?

Thanks a lot.

ps- where can i find documentation for the plugin?

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

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



More information about the jboss-user mailing list