Class InjectionTargetFactoryImpl<T>

  • Type Parameters:
    T -
    All Implemented Interfaces:
    InjectionTargetFactory<T>, org.jboss.weld.manager.api.WeldInjectionTargetFactory<T>

    public class InjectionTargetFactoryImpl<T>
    extends Object
    implements org.jboss.weld.manager.api.WeldInjectionTargetFactory<T>
    Factory capable of producing InjectionTarget implementations for a given combination of AnnotatedType and Bean objects.
    Author:
    Jozef Hartinger
    • Method Detail

      • createInjectionTarget

        public org.jboss.weld.manager.api.WeldInjectionTarget<T> createInjectionTarget​(Bean<T> bean)
        Description copied from interface: InjectionTargetFactory
        Create a new injection target for a bean.
        Specified by:
        createInjectionTarget in interface InjectionTargetFactory<T>
        Specified by:
        createInjectionTarget in interface org.jboss.weld.manager.api.WeldInjectionTargetFactory<T>
        Parameters:
        bean - the bean to create the injection target for, or null if creating a non-contextual object
        Returns:
        the injection target
      • createInterceptorInjectionTarget

        public org.jboss.weld.manager.api.WeldInjectionTarget<T> createInterceptorInjectionTarget()
        Specified by:
        createInterceptorInjectionTarget in interface org.jboss.weld.manager.api.WeldInjectionTargetFactory<T>
      • createMessageDrivenInjectionTarget

        protected InjectionTarget<T> createMessageDrivenInjectionTarget​(org.jboss.weld.ejb.spi.EjbDescriptor<T> descriptor)
      • createNonProducibleInjectionTarget

        public org.jboss.weld.manager.api.WeldInjectionTarget<T> createNonProducibleInjectionTarget()
        Specified by:
        createNonProducibleInjectionTarget in interface org.jboss.weld.manager.api.WeldInjectionTargetFactory<T>