5 Replies Latest reply on Apr 25, 2011 10:21 AM by Adrian Bustos

    Intercepto doesn't work around seam beans methods

    Adrian Bustos Newbie


      I've this bean

      public class SBean {
           public void sayHello(){
                System.out.println("Hello World!");

      And this interceptor

      @Interceptor(around = { BijectionInterceptor.class,
                ConversationInterceptor.class }, within = RemoveInterceptor.class)
      public class EJBInvokerInterceptor {
           public Object intercept(InvocationContext invocation) throws Exception {
                //DO SOMETHING

      But this interceptor does not work around seam Beans method's invocations.
      Only on Stateless/Stateful EJBs.

      Is there any way to make this intercepto works around the first decribed Bean?