T
- public class InjectionTargetFactoryImpl<T> extends Object implements WeldInjectionTargetFactory<T>
InjectionTarget
implementations for a given combination of AnnotatedType
and
Bean
objects.Modifier | Constructor and Description |
---|---|
protected |
InjectionTargetFactoryImpl(AnnotatedType<T> type,
BeanManagerImpl manager) |
Modifier and Type | Method and Description |
---|---|
InjectionTarget<T> |
createInjectionTarget(Bean<T> bean)
Create a new injection target for a bean.
|
BasicInjectionTarget<T> |
createInjectionTarget(EnhancedAnnotatedType<T> type,
Bean<T> bean,
boolean interceptor) |
InjectionTarget<T> |
createInterceptorInjectionTarget()
Create a new injection target for an interceptor bound using
Interceptors or a deployment descriptor. |
protected InjectionTarget<T> |
createMessageDrivenInjectionTarget() |
protected InjectionTargetFactoryImpl(AnnotatedType<T> type, BeanManagerImpl manager)
public InjectionTarget<T> createInjectionTarget(Bean<T> bean)
InjectionTargetFactory
createInjectionTarget
in interface InjectionTargetFactory<T>
bean
- the bean to create the injection target for, or null if creating a non-contextual objectpublic InjectionTarget<T> createInterceptorInjectionTarget()
WeldInjectionTargetFactory
Interceptors
or a deployment descriptor. Unlike
InjectionTargetFactory.createInjectionTarget(javax.enterprise.inject.spi.Bean)
, the resulting InjectionTarget does not support
interception as it is itself an interceptor.createInterceptorInjectionTarget
in interface WeldInjectionTargetFactory<T>
public BasicInjectionTarget<T> createInjectionTarget(EnhancedAnnotatedType<T> type, Bean<T> bean, boolean interceptor)
protected InjectionTarget<T> createMessageDrivenInjectionTarget()
Copyright © 2013 Seam Framework. All Rights Reserved.