org.apache.openejb.cdi
Class CdiEjbBean<T>
java.lang.Object
org.apache.webbeans.component.AbstractOwbBean<T>
org.apache.webbeans.component.AbstractInjectionTargetBean<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>, org.apache.webbeans.component.EnterpriseBeanMarker, org.apache.webbeans.component.InjectionTargetBean<T>, org.apache.webbeans.component.InterceptedMarker, org.apache.webbeans.component.OwbBean<T>
- Direct Known Subclasses:
- NewCdiEjbBean, OpenEJBLifecycle.NewEjbBean
public class CdiEjbBean<T>
- extends org.apache.webbeans.ejb.common.component.BaseEjbBean<T>
| Fields inherited from class org.apache.webbeans.ejb.common.component.BaseEjbBean |
ejbType, OBJECT_EMPTY |
| Fields inherited from class org.apache.webbeans.component.AbstractInjectionTargetBean |
decorators, inheritedMetaData, interceptorStack |
| Fields inherited from class org.apache.webbeans.component.AbstractOwbBean |
apiTypes, enabled, implQualifiers, injectionPoints, logger, name, nullable, passivatingId, returnType, scopeClass, serializable, specializedBean, stereoTypeClasses, stereoTypes, webBeansContext, webBeansType |
| Methods inherited from class org.apache.webbeans.ejb.common.component.BaseEjbBean |
addDependentSFSB, createComponentInstance, getDependentSFSBForProxy, getEjbType, injectFieldInInterceptor, removeDependentSFSB |
| Methods inherited from class org.apache.webbeans.component.AbstractInjectionTargetBean |
addInjectedField, addInjectedFieldToSuper, addInjectedMethod, addInjectedMethodToSuper, addObservableMethod, beforeConstructor, createDefaultInstance, createInstance, destroyInstance, getAnnotatedType, getDecoratorStack, getInheritedMetaData, getInjectedFields, getInjectedFromSuperFields, getInjectedFromSuperMethods, getInjectedMethods, getInterceptorStack, getObservableMethods, injectFields, injectMethods, injectResources, injectSuperFields, injectSuperMethods, postConstruct, postConstructDefault, preDestroy, preDestroyDefault, setAnnotatedType, setInheritedMetaData |
| Methods inherited from class org.apache.webbeans.component.AbstractOwbBean |
addInjectionPoint, addQualifier, addStereoType, create, createNewInstance, destroy, destroyCreatedInstance, equals, getBeanClass, getInjectionPoints, getLogger, getManager, getName, getOwbStereotypes, getQualifiers, getReturnType, getScope, getStereotypes, getTypes, getWebBeansContext, getWebBeansType, hashCode, isAlternative, isDependent, isEnabled, isNullable, isSerializable, isSpecializedBean, setEnabled, setImplScopeType, setName, setNullable, setSerializable, setSpecializedBean, toString |
| Methods inherited from interface org.apache.webbeans.component.OwbBean |
addInjectionPoint, addQualifier, addStereoType, createNewInstance, destroyCreatedInstance, getOwbStereotypes, getReturnType, getWebBeansContext, getWebBeansType, isDependent, isEnabled, isSerializable, isSpecializedBean, setEnabled, setImplScopeType, setName, setNullable, setSerializable, setSpecializedBean |
| Methods inherited from interface javax.enterprise.inject.spi.Bean |
getBeanClass, getInjectionPoints, getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternative, isNullable |
| Methods inherited from interface javax.enterprise.context.spi.Contextual |
create, destroy |
CdiEjbBean
public CdiEjbBean(BeanContext beanContext,
org.apache.webbeans.config.WebBeansContext webBeansContext)
CdiEjbBean
public CdiEjbBean(BeanContext beanContext,
org.apache.webbeans.config.WebBeansContext webBeansContext,
Class beanClass)
validatePassivationDependencies
public void validatePassivationDependencies()
- Specified by:
validatePassivationDependencies in interface org.apache.webbeans.component.OwbBean<T>- Overrides:
validatePassivationDependencies in class org.apache.webbeans.component.AbstractInjectionTargetBean<T>
addApiType
public void addApiType(Class<?> apiType)
- Specified by:
addApiType in interface org.apache.webbeans.component.OwbBean<T>- Overrides:
addApiType in class org.apache.webbeans.component.AbstractOwbBean<T>
getBeanContext
public BeanContext getBeanContext()
getId
public String getId()
- Specified by:
getId in interface org.apache.webbeans.component.OwbBean<T>- Overrides:
getId in class org.apache.webbeans.component.AbstractOwbBean<T>
afterConstructor
protected void afterConstructor(T instance,
javax.enterprise.context.spi.CreationalContext<T> tCreationalContext)
- Overrides:
afterConstructor in class org.apache.webbeans.component.AbstractInjectionTargetBean<T>
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>
getInstance
protected T getInstance(javax.enterprise.context.spi.CreationalContext<T> creationalContext)
- Specified by:
getInstance in class org.apache.webbeans.ejb.common.component.BaseEjbBean<T>
destroyComponentInstance
protected void destroyComponentInstance(T instance,
javax.enterprise.context.spi.CreationalContext<T> creational)
- Overrides:
destroyComponentInstance in class org.apache.webbeans.ejb.common.component.BaseEjbBean<T>
destroyStatefulSessionBeanInstance
protected void destroyStatefulSessionBeanInstance(T proxyInstance,
Object ejbInstance)
- 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>
getInjectionPoint
public List<javax.enterprise.inject.spi.InjectionPoint> getInjectionPoint(Member member)
- Specified by:
getInjectionPoint in interface org.apache.webbeans.component.OwbBean<T>- Overrides:
getInjectionPoint in class org.apache.webbeans.component.AbstractOwbBean<T>
specialize
protected void specialize(CdiEjbBean<?> superBean)
isPassivationCapable
public boolean isPassivationCapable()
- Specified by:
isPassivationCapable in interface org.apache.webbeans.component.EnterpriseBeanMarker- Specified by:
isPassivationCapable in interface org.apache.webbeans.component.OwbBean<T>- Overrides:
isPassivationCapable in class org.apache.webbeans.ejb.common.component.BaseEjbBean<T>
Copyright © 1999-2012 The Apache Software Foundation. All Rights Reserved.