T - public class DecoratorInjectionTarget<T> extends BeanInjectionTarget<T>
InjectionTarget implementation used for decorators.beanManager| Constructor and Description |
|---|
DecoratorInjectionTarget(EnhancedAnnotatedType<T> type,
javax.enterprise.inject.spi.Bean<T> bean,
BeanManagerImpl beanManager) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkDelegateInjectionPoints() |
void |
initializeAfterBeanDiscovery(EnhancedAnnotatedType<T> annotatedType) |
protected Instantiator<T> |
initInstantiator(EnhancedAnnotatedType<T> type,
javax.enterprise.inject.spi.Bean<T> bean,
BeanManagerImpl beanManager,
Set<javax.enterprise.inject.spi.InjectionPoint> injectionPoints)
Returns an instantiator that will be used to create a new instance of a given component.
|
void |
inject(T instance,
javax.enterprise.context.spi.CreationalContext<T> ctx) |
buildInterceptionModel, checkDecoratedMethods, checkNoArgsConstructor, createDefault, dispose, forCdiInterceptor, getBean, initializeInterceptionModel, isDecorator, isInterceptionCandidate, isInterceptor, produce, setupConstructorInterceptionInstantiatorcheckType, create, createDefault, createNonCdiInterceptor, getAnnotated, getAnnotatedType, getBeanManager, getInjectionPoints, getInjector, getInstantiator, getLifecycleCallbackInvoker, getType, hasDecorators, hasInterceptors, postConstruct, preDestroy, setInstantiator, toStringequals, hashCodepublic DecoratorInjectionTarget(EnhancedAnnotatedType<T> type, javax.enterprise.inject.spi.Bean<T> bean, BeanManagerImpl beanManager)
protected Instantiator<T> initInstantiator(EnhancedAnnotatedType<T> type, javax.enterprise.inject.spi.Bean<T> bean, BeanManagerImpl beanManager, Set<javax.enterprise.inject.spi.InjectionPoint> injectionPoints)
BasicInjectionTargetBasicInjectionTarget.initInstantiator(EnhancedAnnotatedType, Bean, BeanManagerImpl, Set) method is supposed to register all these
injection points within the injectionPoints set passed in as a parameter.initInstantiator in class BasicInjectionTarget<T>protected void checkDelegateInjectionPoints()
checkDelegateInjectionPoints in class AbstractProducer<T>public void inject(T instance, javax.enterprise.context.spi.CreationalContext<T> ctx)
inject in interface javax.enterprise.inject.spi.InjectionTarget<T>inject in class BasicInjectionTarget<T>public void initializeAfterBeanDiscovery(EnhancedAnnotatedType<T> annotatedType)
initializeAfterBeanDiscovery in class BeanInjectionTarget<T>Copyright © 2017. All rights reserved.