0 Replies Latest reply on Sep 23, 2014 2:18 PM by epi.salamanca

    How to programatically inject method/class CDI Bean interceptor/decorator.

    epi.salamanca

      Hi,

        in our application we do require to create several pojos, some of those POJOs do have fields that do required a CDI bean to be injected.

        So far so good, we have being able to use BeanManager to inject the corresponding CDI Bean.

        But now some of those injected CDI bean, do required to be decorated/intercepted.

        I've google around but I haven't being able to find any reference where an example is given on how to do it.

       

      Is this doable and if so could you point me where could I find some example code that shows how this could be done.

       

      Thanks,

      Epi