[jboss-user] [JBoss AOP] - Re: Interceptor chain problem

kabir.khan@jboss.com do-not-reply at jboss.com
Fri Aug 29 06:00:33 EDT 2008


That is weird, at a glance, it looks like it should only be called once. Can you modify one of your @myPackage.MyAnnotation annotated methods to do the following:

  | @myPackage.MyAnnotation
  | public void someMethod()
  | {
  |    new Exception().printStackTrace();
  |    ...
  | }
  | 
and paste the resulting stack trace in here.

Is the pointcut you have listed the ONLY one that references Interceptor? Also, since you are using xml, you're not accidentally also using annotations to define/apply the interceptor?

If you're able to reproduce this behaviour with something based on the "injboss" tutorial example, then please open a JIRA issue and attach the source.

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

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



More information about the jboss-user mailing list