[jboss-user] [JBoss AOP] - @Interceptors not working when jboss-aop defined in jboss-ao

alen_ribic do-not-reply at jboss.com
Fri Jul 3 10:43:38 EDT 2009


I have a jboss-aop.xml file in my EAR.
My jboss-aop.xml defines an interceptor class that works 100%.

Today, I tried to also make use of EJB interceptors using @Interceptors annotation on my Stateless Session Bean and the result is that my EJB interceptor never gets called.

However, when I comment out the interceptor I have defined in my  jboss-aop.xml file, the EJB interceptor starts working.

Is there a particular reason this happens and is there a way to make both work?

Thank you in advance.

-Alen

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

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



More information about the jboss-user mailing list