public class BeanInjectionTarget<T> extends BasicInjectionTarget<T>
beanManager| Constructor and Description |
|---|
BeanInjectionTarget(EnhancedAnnotatedType<T> type,
javax.enterprise.inject.spi.Bean<T> bean,
BeanManagerImpl beanManager) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkDecoratedMethods(EnhancedAnnotatedType<T> type,
List<javax.enterprise.inject.spi.Decorator<?>> decorators) |
void |
dispose(T instance) |
javax.enterprise.inject.spi.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,
javax.enterprise.inject.spi.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(javax.enterprise.context.spi.CreationalContext<T> ctx) |
protected void |
setupConstructorInterceptionInstantiator(InterceptionModel<ClassMetadata<?>> interceptionModel) |
checkType, getAnnotated, getBeanManager, getInjectionPoints, getInjector, getInstantiator, getLifecycleCallbackInvoker, getType, hasDecorators, hasInterceptors, initInstantiator, inject, setInstantiator, toStringcheckDelegateInjectionPoints, equals, hashCodepublic BeanInjectionTarget(EnhancedAnnotatedType<T> type, javax.enterprise.inject.spi.Bean<T> bean, BeanManagerImpl beanManager)
protected Injector<T> initInjector(EnhancedAnnotatedType<T> type, javax.enterprise.inject.spi.Bean<T> bean, BeanManagerImpl beanManager)
initInjector in class BasicInjectionTarget<T>public void postConstruct(T instance)
postConstruct in interface javax.enterprise.inject.spi.InjectionTarget<T>postConstruct in class BasicInjectionTarget<T>public void preDestroy(T instance)
preDestroy in interface javax.enterprise.inject.spi.InjectionTarget<T>preDestroy in class BasicInjectionTarget<T>public void dispose(T instance)
dispose in interface javax.enterprise.inject.spi.Producer<T>dispose in class BasicInjectionTarget<T>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<ClassMetadata<?>> interceptionModel)
protected void checkDecoratedMethods(EnhancedAnnotatedType<T> type, List<javax.enterprise.inject.spi.Decorator<?>> decorators)
public T produce(javax.enterprise.context.spi.CreationalContext<T> ctx)
produce in interface javax.enterprise.inject.spi.Producer<T>produce in class BasicInjectionTarget<T>protected LifecycleCallbackInvoker<T> initInvoker(EnhancedAnnotatedType<T> type)
initInvoker in class BasicInjectionTarget<T>public javax.enterprise.inject.spi.Bean<T> getBean()
AbstractProducerBean this producer is associated with or null if no such bean exists.getBean in class BasicInjectionTarget<T>Copyright © 2013 Seam Framework. All rights reserved.