"waynebaylor" wrote : you could try something like:
  | 
  | 
  |   | <typedef 
  |   |         name="intercept_this"
  |   |         expr="class(my.package.*)"/>
  |   | 
  |   | <typedef 
  |   |         name="dont_intercept"
  |   |         expr="class([EMAIL PROTECTED])"/>
  |   | 
  |   | <pointcut name="myPointcut"
  |   |     expr="execution(public * $typedef{intercept_this}->*(..))
  |   |     AND !execution(publiic * $typedef{dont_intercept}->*(..))"/>
  |   | 
  |   | <bind pointcut="myPointcut">
  |   |     <interceptor class="the.interceptor.MyInterceptor"/>
  |   | </bind>
  |   | 
  | 
  | notice the use of AND along with the !(not).

Thanks lots.
Can you tell where I can find more examples and the explanation for the 
descriptor?

John
Toronto



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4079953
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to