| Modifier and Type | Field and Description |
|---|---|
static EjbSupport |
NOOP_IMPLEMENTATION |
| Modifier and Type | Method and Description |
|---|---|
<T> BasicInjectionTarget<T> |
createMessageDrivenInjectionTarget(EnhancedAnnotatedType<T> type,
EjbDescriptor<T> descriptor,
BeanManagerImpl manager)
Creates an
InjectionTarget implementation for a message-driven bean |
void |
createNewSessionBeans(BeanDeployerEnvironment environment,
BeanManagerImpl manager)
Creates
New session beans and registers them within the given environment. |
<T> BeanAttributes<T> |
createSessionBeanAttributes(EnhancedAnnotatedType<T> type,
BeanManagerImpl manager)
Creates a
BeanAttributes object for a session bean from the given annotated type and ejb descriptor |
<T> BasicInjectionTarget<T> |
createSessionBeanInjectionTarget(EnhancedAnnotatedType<T> type,
SessionBean<T> bean,
BeanManagerImpl manager)
Creates an
InjectionTarget implementation for a given session bean. |
void |
createSessionBeans(BeanDeployerEnvironment environment,
SetMultimap<Class<?>,SlimAnnotatedType<?>> classes,
BeanManagerImpl manager)
Creates session beans and registers them within the given environment.
|
<T> EjbDescriptor<T> |
getEjbDescriptor(String beanName)
Returns an
EjbDescriptor identified by the given name or null if no such descriptor exists |
Collection<? extends EjbDescriptor<?>> |
getEjbDescriptors()
Returns a collection of all known EJB descriptors
|
Class<? extends Annotation> |
getTimeoutAnnotation()
Returns the class object for the
javax.ejb.Timeout annotation |
boolean |
isEjb(Class<?> beanClass)
Indicates whether an
EjbDescriptor is known for a given class |
void |
registerCdiInterceptorsForMessageDrivenBeans(BeanDeployerEnvironment environment,
BeanManagerImpl manager)
Initializes interception model for MDBs and propagates them to
EjbServices.registerInterceptors(org.jboss.weld.ejb.spi.EjbDescriptor, org.jboss.weld.ejb.spi.InterceptorBindings) |
static final EjbSupport NOOP_IMPLEMENTATION
<T> BeanAttributes<T> createSessionBeanAttributes(EnhancedAnnotatedType<T> type, BeanManagerImpl manager)
BeanAttributes object for a session bean from the given annotated type and ejb descriptortype - annotated type that defines the session beandescriptor - session bean descriptormanager - the bean manager<T> BasicInjectionTarget<T> createSessionBeanInjectionTarget(EnhancedAnnotatedType<T> type, SessionBean<T> bean, BeanManagerImpl manager)
InjectionTarget implementation for a given session bean.type - annotated type that defines the session beandescriptor - session bean descriptormanager - the bean manager<T> BasicInjectionTarget<T> createMessageDrivenInjectionTarget(EnhancedAnnotatedType<T> type, EjbDescriptor<T> descriptor, BeanManagerImpl manager)
InjectionTarget implementation for a message-driven beantype - annotated type that defines the message-driven beandescriptor - message-driven bean descriptormanager - the bean managervoid createSessionBeans(BeanDeployerEnvironment environment, SetMultimap<Class<?>,SlimAnnotatedType<?>> classes, BeanManagerImpl manager)
environment - classes - manager - void createNewSessionBeans(BeanDeployerEnvironment environment, BeanManagerImpl manager)
New session beans and registers them within the given environment.environment - classes - manager - Class<? extends Annotation> getTimeoutAnnotation()
javax.ejb.Timeout annotationvoid registerCdiInterceptorsForMessageDrivenBeans(BeanDeployerEnvironment environment, BeanManagerImpl manager)
EjbServices.registerInterceptors(org.jboss.weld.ejb.spi.EjbDescriptor, org.jboss.weld.ejb.spi.InterceptorBindings)environment - manager - boolean isEjb(Class<?> beanClass)
EjbDescriptor is known for a given classbeanClass - <T> EjbDescriptor<T> getEjbDescriptor(String beanName)
EjbDescriptor identified by the given name or null if no such descriptor existsbeanName - Collection<? extends EjbDescriptor<?>> getEjbDescriptors()
Copyright © 2015. All Rights Reserved.