2 Replies Latest reply on Nov 25, 2009 2:40 PM by cash1981

    BypassInterceptors in a Factory method

    rmemoria.ricardo.rmemoria.com.br

      Hi all,


      I want to get maximum performance in a component that will be inside a huge JSF loop. The component is created from a @Factory annotation in a method, so I declared it like that:




          @Factory("defaultWorkspace")
          @BypassInterceptors
          public Workspace getDefaultWorkspace() {
               return userWorkspace.getWorkspace();
          }





      Does this BypassInterceptor will work in a method factory? If not, is there another way to do that?


      Best,
      Ricardo Memoria