[jboss-user] [JBoss AOP] - Re: Interceptors not fired on methods called from within bea

kabir.khan@jboss.com do-not-reply at jboss.com
Wed Jul 12 17:22:44 EDT 2006


Yes, the interceptors defined in ejb3-interceptors-aop.xml are only invoked when calling via the container, i.e via the business interface.

To have it working as per your example you need weaving, but then your ordering will not apply

* Call to x() via container
-> All the container interceptors get invoked

* Call to y() from x() (with weaving turned on)
-> Only "woven" interceptors get called

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

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



More information about the jboss-user mailing list