Package org.jboss.weld.manager
Class InjectionTargetFactoryImpl<T>
- java.lang.Object
-
- org.jboss.weld.manager.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 producingInjectionTargetimplementations for a given combination ofAnnotatedTypeandBeanobjects.- Author:
- Jozef Hartinger
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedInjectionTargetFactoryImpl(AnnotatedType<T> type, BeanManagerImpl manager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AnnotatedTypeConfigurator<T>configure()Returns anAnnotatedTypeConfiguratorto to configure theAnnotatedTypeused to create theInjectionTarget.org.jboss.weld.manager.api.WeldInjectionTarget<T>createInjectionTarget(Bean<T> bean)Create a new injection target for a bean.BasicInjectionTarget<T>createInjectionTarget(EnhancedAnnotatedType<T> type, Bean<T> bean, boolean interceptor)org.jboss.weld.manager.api.WeldInjectionTarget<T>createInterceptorInjectionTarget()protected InjectionTarget<T>createMessageDrivenInjectionTarget(org.jboss.weld.ejb.spi.EjbDescriptor<T> descriptor)org.jboss.weld.manager.api.WeldInjectionTarget<T>createNonProducibleInjectionTarget()
-
-
-
Constructor Detail
-
InjectionTargetFactoryImpl
protected InjectionTargetFactoryImpl(AnnotatedType<T> type, BeanManagerImpl manager)
-
-
Method Detail
-
createInjectionTarget
public org.jboss.weld.manager.api.WeldInjectionTarget<T> createInjectionTarget(Bean<T> bean)
Description copied from interface:InjectionTargetFactoryCreate a new injection target for a bean.- Specified by:
createInjectionTargetin interfaceInjectionTargetFactory<T>- Specified by:
createInjectionTargetin interfaceorg.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:
createInterceptorInjectionTargetin interfaceorg.jboss.weld.manager.api.WeldInjectionTargetFactory<T>
-
createInjectionTarget
public BasicInjectionTarget<T> createInjectionTarget(EnhancedAnnotatedType<T> type, Bean<T> bean, boolean interceptor)
-
configure
public AnnotatedTypeConfigurator<T> configure()
Description copied from interface:InjectionTargetFactoryReturns anAnnotatedTypeConfiguratorto to configure theAnnotatedTypeused to create theInjectionTarget. Each call returns the same AnnotatedTypeConfigurator.- Specified by:
configurein interfaceInjectionTargetFactory<T>- Returns:
- an
AnnotatedTypeConfiguratorto configure injection points
-
createMessageDrivenInjectionTarget
protected InjectionTarget<T> createMessageDrivenInjectionTarget(org.jboss.weld.ejb.spi.EjbDescriptor<T> descriptor)
-
-