public class BeanInjectionTarget<T> extends BasicInjectionTarget<T>
beanManager| Constructor and Description |
|---|
BeanInjectionTarget(EnhancedAnnotatedType<T> type,
Bean<T> bean,
BeanManagerImpl beanManager) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkDecoratedMethods(EnhancedAnnotatedType<T> type,
List<Decorator<?>> decorators) |
protected void |
checkNoArgsConstructor(EnhancedAnnotatedType<T> type) |
void |
dispose(T instance) |
Bean<T> |
getBean()
Returns a
Bean this producer is associated with or null if no such bean exists. |
void |
initializeAfterBeanDiscovery(EnhancedAnnotatedType<T> annotatedType) |
protected void |
initializeInterceptionModel(EnhancedAnnotatedType<T> annotatedType) |
protected Injector<T> |
initInjector(EnhancedAnnotatedType<T> type,
Bean<T> bean,
BeanManagerImpl beanManager) |
protected LifecycleCallbackInvoker<T> |
initInvoker(EnhancedAnnotatedType<T> type) |
protected boolean |
isDecorator() |
protected boolean |
isInterceptionCandidate() |
protected boolean |
isInterceptor() |
void |
postConstruct(T instance) |
void |
preDestroy(T instance) |
T |
produce(CreationalContext<T> ctx) |
protected void |
setupConstructorInterceptionInstantiator(InterceptionModel interceptionModel) |
checkType, getAnnotated, getBeanManager, getInjectionPoints, getInjector, getInstantiator, getLifecycleCallbackInvoker, getType, hasDecorators, hasInterceptors, initInstantiator, inject, setInstantiator, toStringcheckDelegateInjectionPoints, equals, hashCodepublic BeanInjectionTarget(EnhancedAnnotatedType<T> type, Bean<T> bean, BeanManagerImpl beanManager)
protected Injector<T> initInjector(EnhancedAnnotatedType<T> type, Bean<T> bean, BeanManagerImpl beanManager)
initInjector in class BasicInjectionTarget<T>public void postConstruct(T instance)
postConstruct in interface InjectionTarget<T>postConstruct in class BasicInjectionTarget<T>public void preDestroy(T instance)
preDestroy in interface InjectionTarget<T>preDestroy in class BasicInjectionTarget<T>public void dispose(T instance)
protected boolean isInterceptor()
protected boolean isDecorator()
protected boolean isInterceptionCandidate()
protected void initializeInterceptionModel(EnhancedAnnotatedType<T> annotatedType)
public void initializeAfterBeanDiscovery(EnhancedAnnotatedType<T> annotatedType)
initializeAfterBeanDiscovery in class BasicInjectionTarget<T>protected void setupConstructorInterceptionInstantiator(InterceptionModel interceptionModel)
protected void checkNoArgsConstructor(EnhancedAnnotatedType<T> type)
protected void checkDecoratedMethods(EnhancedAnnotatedType<T> type, List<Decorator<?>> decorators)
public T produce(CreationalContext<T> ctx)
protected LifecycleCallbackInvoker<T> initInvoker(EnhancedAnnotatedType<T> type)
initInvoker in class BasicInjectionTarget<T>public Bean<T> getBean()
AbstractProducerBean this producer is associated with or null if no such bean exists.getBean in class BasicInjectionTarget<T>Copyright © 2014 Seam Framework. All Rights Reserved.