public class SessionBeanInjectionTarget<T> extends BeanInjectionTarget<T>
beanManager
Modifier and Type | Method and Description |
---|---|
protected void |
buildInterceptionModel(EnhancedAnnotatedType<T> annotatedType,
AbstractInstantiator<T> instantiator) |
SessionBean<T> |
getBean()
Returns a
Bean this producer is associated with or null if no such bean exists. |
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) |
static <T> SessionBeanInjectionTarget<T> |
of(EnhancedAnnotatedType<T> type,
SessionBean<T> bean,
BeanManagerImpl beanManager) |
T |
produce(javax.enterprise.context.spi.CreationalContext<T> ctx) |
checkDecoratedMethods, checkNoArgsConstructor, createDefault, dispose, forCdiInterceptor, initializeInterceptionModel, isDecorator, isInterceptionCandidate, isInterceptor, postConstruct, preDestroy, setupConstructorInterceptionInstantiator
checkType, create, createDefault, createNonCdiInterceptor, getAnnotated, getAnnotatedType, getBeanManager, getInjectionPoints, getInjector, getInstantiator, getLifecycleCallbackInvoker, getType, hasDecorators, hasInterceptors, setInstantiator, toString
checkDelegateInjectionPoints, equals, hashCode
public static <T> SessionBeanInjectionTarget<T> of(EnhancedAnnotatedType<T> type, SessionBean<T> bean, BeanManagerImpl beanManager)
public SessionBean<T> getBean()
AbstractProducer
Bean
this producer is associated with or null if no such bean exists.getBean
in class BeanInjectionTarget<T>
protected Instantiator<T> initInstantiator(EnhancedAnnotatedType<T> type, javax.enterprise.inject.spi.Bean<T> bean, BeanManagerImpl beanManager, Set<javax.enterprise.inject.spi.InjectionPoint> injectionPoints)
BasicInjectionTarget
BasicInjectionTarget.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>
public void initializeAfterBeanDiscovery(EnhancedAnnotatedType<T> annotatedType)
initializeAfterBeanDiscovery
in class BeanInjectionTarget<T>
protected void buildInterceptionModel(EnhancedAnnotatedType<T> annotatedType, AbstractInstantiator<T> instantiator)
buildInterceptionModel
in class BeanInjectionTarget<T>
public T produce(javax.enterprise.context.spi.CreationalContext<T> ctx)
produce
in interface javax.enterprise.inject.spi.Producer<T>
produce
in class BeanInjectionTarget<T>
Copyright © 2016. All rights reserved.