2 Replies Latest reply on Apr 11, 2007 10:43 AM by Alexander Sack

    Interceptors broken?

    Alexander Sack Novice

      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.