[jboss-user] [EJB 3.0] - Interceptors broken?

asack do-not-reply at jboss.com
Mon Apr 9 23:22:24 EDT 2007


I have the following:

@Stateless
public class SomeSLSB {
      @Interceptors(SomeInterceptorA.class)
      public someMethod()
                  someOtherMethod()


      @Interceptors(SomeInterceptorB.class)
      public someOtherMethod()
}

Can someone please tell me with 404GA why when I call someMethod() interceptor A gets called but not B.  It seems someOtherMethod() does get called but the interceptor around it is not triggered.  Are interceptors only triggered from my SLSBs local interface?  It seems by spec, both interceptors should be called and they are certainly not!

Little help?  I can give more specific examples if the above isn't clear but this seems like a real bug.

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

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



More information about the jboss-user mailing list