T - public class DecoratorInjectionTarget<T> extends BeanInjectionTarget<T>
InjectionTarget implementation used for decorators.beanManager| Constructor and Description |
|---|
DecoratorInjectionTarget(EnhancedAnnotatedType<T> type,
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,
Bean<T> bean,
BeanManagerImpl beanManager,
Set<InjectionPoint> injectionPoints)
Returns an instantiator that will be used to create a new instance of a given component.
|
void |
inject(T instance,
CreationalContext<T> ctx)
Performs dependency injection upon the given object.
|
checkDecoratedMethods, checkNoArgsConstructor, dispose, getBean, initializeInterceptionModel, initInjector, initInvoker, isDecorator, isInterceptionCandidate, isInterceptor, postConstruct, preDestroy, produce, setupConstructorInterceptionInstantiatorcheckType, getAnnotated, getBeanManager, getInjectionPoints, getInjector, getInstantiator, getLifecycleCallbackInvoker, getType, hasDecorators, hasInterceptors, setInstantiator, toStringequals, hashCodepublic DecoratorInjectionTarget(EnhancedAnnotatedType<T> type, Bean<T> bean, BeanManagerImpl beanManager)
protected Instantiator<T> initInstantiator(EnhancedAnnotatedType<T> type, Bean<T> bean, BeanManagerImpl beanManager, Set<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, CreationalContext<T> ctx)
InjectionTargetPerforms dependency injection upon the given object. Performs Java EE component environment injection, sets the value of all injected fields, and calls all initializer methods.
inject in interface InjectionTarget<T>inject in class BasicInjectionTarget<T>instance - The instance upon which to perform injectionctx - The CreationalContext to use for creating new instancespublic void initializeAfterBeanDiscovery(EnhancedAnnotatedType<T> annotatedType)
initializeAfterBeanDiscovery in class BeanInjectionTarget<T>Copyright © 2014 Seam Framework. All Rights Reserved.