org.apache.openejb.cdi
Class CdiEjbBean<T>

java.lang.Object
  extended by org.apache.webbeans.component.BeanAttributesImpl<T>
      extended by org.apache.webbeans.component.AbstractOwbBean<T>
          extended by org.apache.webbeans.component.InjectionTargetBean<T>
              extended by org.apache.webbeans.ejb.common.component.BaseEjbBean<T>
                  extended by 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


Nested Class Summary
static class CdiEjbBean.EjbInjectionTargetFactory<T>
           
static class CdiEjbBean.EjbInjectionTargetImpl<T>
           
 
Field Summary
 
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)
           
 
Method Summary
protected  T createEjb(javax.enterprise.context.spi.CreationalContext<T> creationalContext)
           
 void destroyComponentInstance(T instance)
           
protected  void destroyStatefulSessionBeanInstance(T proxyInstance, Object unused)
           
 BeanContext getBeanContext()
           
 List<Class<?>> getBusinessLocalInterfaces()
           
 String getEjbName()
           
 List<Method> getRemoveMethods()
           
 void initInternals()
           
 boolean needsBeanLocalViewAddedToTypes()
           
 void storeStatefulInstance(Object proxy, T instance)
           
 
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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.enterprise.inject.spi.Bean
getName, getQualifiers, getScope, getStereotypes, getTypes, isNullable
 

Constructor Detail

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)
Method Detail

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.