public class SessionBeanInjectionTarget<T> extends BeanInjectionTarget<T>
beanManager| Constructor and Description |
|---|
SessionBeanInjectionTarget(EnhancedAnnotatedType<T> type,
SessionBean<T> bean,
BeanManagerImpl beanManager) |
| Modifier and Type | Method and Description |
|---|---|
SessionBean<T> |
getBean()
Returns a
Bean this producer is associated with or null if no such bean exists. |
void |
initializeAfterBeanDiscovery(EnhancedAnnotatedType<T> annotatedType) |
protected Injector<T> |
initInjector(EnhancedAnnotatedType<T> type,
Bean<T> bean,
BeanManagerImpl beanManager) |
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.
|
T |
produce(CreationalContext<T> ctx) |
checkDecoratedMethods, checkNoArgsConstructor, dispose, initializeInterceptionModel, initInvoker, isDecorator, isInterceptionCandidate, isInterceptor, postConstruct, preDestroy, setupConstructorInterceptionInstantiatorcheckType, getAnnotated, getBeanManager, getInjectionPoints, getInjector, getInstantiator, getLifecycleCallbackInvoker, getType, hasDecorators, hasInterceptors, inject, setInstantiator, toStringcheckDelegateInjectionPoints, equals, hashCodepublic SessionBeanInjectionTarget(EnhancedAnnotatedType<T> type, SessionBean<T> bean, BeanManagerImpl beanManager)
public SessionBean<T> getBean()
AbstractProducerBean this producer is associated with or null if no such bean exists.getBean in class BeanInjectionTarget<T>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 Injector<T> initInjector(EnhancedAnnotatedType<T> type, Bean<T> bean, BeanManagerImpl beanManager)
initInjector in class BeanInjectionTarget<T>public void initializeAfterBeanDiscovery(EnhancedAnnotatedType<T> annotatedType)
initializeAfterBeanDiscovery in class BeanInjectionTarget<T>public T produce(CreationalContext<T> ctx)
Copyright © 2014 Seam Framework. All Rights Reserved.