org.apache.openejb.cdi
Class CdiEjbBean<T>
java.lang.Object
org.apache.webbeans.component.BeanAttributesImpl<T>
org.apache.webbeans.component.AbstractOwbBean<T>
org.apache.webbeans.component.InjectionTargetBean<T>
org.apache.webbeans.ejb.common.component.BaseEjbBean<T>
org.apache.openejb.cdi.CdiEjbBean<T>
- All Implemented Interfaces:
- javax.enterprise.context.spi.Contextual<T>, javax.enterprise.inject.spi.Bean<T>, javax.enterprise.inject.spi.PassivationCapable, org.apache.webbeans.component.EnterpriseBeanMarker, org.apache.webbeans.component.InterceptedMarker, org.apache.webbeans.component.OwbBean<T>, org.apache.webbeans.component.spi.BeanAttributes<T>
- Direct Known Subclasses:
- NewCdiEjbBean
public class CdiEjbBean<T>
- extends org.apache.webbeans.ejb.common.component.BaseEjbBean<T>
- implements org.apache.webbeans.component.InterceptedMarker
| Fields inherited from class org.apache.webbeans.ejb.common.component.BaseEjbBean |
ejbType, OBJECT_EMPTY |
| Fields inherited from class org.apache.webbeans.component.AbstractOwbBean |
enabled, logger, passivatingId, specializedBean, webBeansContext, webBeansType |
|
Constructor Summary |
CdiEjbBean(BeanContext beanContext,
org.apache.webbeans.config.WebBeansContext webBeansContext,
javax.enterprise.inject.spi.AnnotatedType<T> at)
|
CdiEjbBean(BeanContext beanContext,
org.apache.webbeans.config.WebBeansContext webBeansContext,
Class beanClass,
javax.enterprise.inject.spi.AnnotatedType<T> at,
org.apache.webbeans.container.InjectionTargetFactoryImpl<T> factory)
|
| Methods inherited from class org.apache.webbeans.ejb.common.component.BaseEjbBean |
addDependentSFSB, getDependentSFSBForProxy, getEjbType, isPassivationCapable, removeDependentSFSB |
| Methods inherited from class org.apache.webbeans.component.InjectionTargetBean |
getAnnotatedType, getInjectionTarget, getProducer |
| Methods inherited from class org.apache.webbeans.component.AbstractOwbBean |
create, destroy, getBeanClass, getId, getInjectionPoints, getLogger, getReturnType, getWebBeansContext, getWebBeansType, isAlternative, isDependent, isEnabled, isSpecializedBean, setEnabled, setSpecializedBean, toString |
| Methods inherited from class org.apache.webbeans.component.BeanAttributesImpl |
getName, getQualifiers, getScope, getStereotypes, getTypes, isNullable |
| Methods inherited from interface javax.enterprise.inject.spi.Bean |
getName, getQualifiers, getScope, getStereotypes, getTypes, isNullable |
CdiEjbBean
public CdiEjbBean(BeanContext beanContext,
org.apache.webbeans.config.WebBeansContext webBeansContext,
javax.enterprise.inject.spi.AnnotatedType<T> at)
CdiEjbBean
public CdiEjbBean(BeanContext beanContext,
org.apache.webbeans.config.WebBeansContext webBeansContext,
Class beanClass,
javax.enterprise.inject.spi.AnnotatedType<T> at,
org.apache.webbeans.container.InjectionTargetFactoryImpl<T> factory)
getBeanContext
public BeanContext getBeanContext()
getEjbName
public String getEjbName()
- Overrides:
getEjbName in class org.apache.webbeans.ejb.common.component.BaseEjbBean<T>
needsBeanLocalViewAddedToTypes
public boolean needsBeanLocalViewAddedToTypes()
- Overrides:
needsBeanLocalViewAddedToTypes in class org.apache.webbeans.ejb.common.component.BaseEjbBean<T>
getBusinessLocalInterfaces
public List<Class<?>> getBusinessLocalInterfaces()
- Overrides:
getBusinessLocalInterfaces in class org.apache.webbeans.ejb.common.component.BaseEjbBean<T>
destroyComponentInstance
public void destroyComponentInstance(T instance)
destroyStatefulSessionBeanInstance
protected void destroyStatefulSessionBeanInstance(T proxyInstance,
Object unused)
- Overrides:
destroyStatefulSessionBeanInstance in class org.apache.webbeans.ejb.common.component.BaseEjbBean<T>
getRemoveMethods
public List<Method> getRemoveMethods()
- Overrides:
getRemoveMethods in class org.apache.webbeans.ejb.common.component.BaseEjbBean<T>
createEjb
protected T createEjb(javax.enterprise.context.spi.CreationalContext<T> creationalContext)
storeStatefulInstance
public void storeStatefulInstance(Object proxy,
T instance)
initInternals
public void initInternals()
Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.