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 producingInjectionTarget
implementations for a given combination ofAnnotatedType
andBean
objects.- Author:
- Jozef Hartinger
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
InjectionTargetFactoryImpl(AnnotatedType<T> type, BeanManagerImpl manager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AnnotatedTypeConfigurator<T>
configure()
Returns anAnnotatedTypeConfigurator
to to configure theAnnotatedType
used 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:InjectionTargetFactory
Create a new injection target for a bean.- Specified by:
createInjectionTarget
in interfaceInjectionTargetFactory<T>
- Specified by:
createInjectionTarget
in 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:
createInterceptorInjectionTarget
in 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:InjectionTargetFactory
Returns anAnnotatedTypeConfigurator
to to configure theAnnotatedType
used to create theInjectionTarget
. Each call returns the same AnnotatedTypeConfigurator.- Specified by:
configure
in interfaceInjectionTargetFactory<T>
- Returns:
- an
AnnotatedTypeConfigurator
to configure injection points
-
createMessageDrivenInjectionTarget
protected InjectionTarget<T> createMessageDrivenInjectionTarget(org.jboss.weld.ejb.spi.EjbDescriptor<T> descriptor)
-
-