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

    BypassInterceptors in a Factory method

    Ricardo Memoria Newbie

      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