Class CdiPropertyInjector

  • All Implemented Interfaces:
    PropertyInjector

    public class CdiPropertyInjector
    extends Object
    implements PropertyInjector
    JAX-RS property injection is performed twice on CDI Beans. Firstly by the JaxrsInjectionTarget wrapper and then again by RESTEasy (which operates on Weld proxies instead of the underlying instances). To eliminate this, we enabled the injector only for non-CDI beans (JAX-RS components outside of BDA) or CDI components that are not JAX-RS components.
    Author:
    Jozef Hartinger