org.apache.webbeans.ejb.component
Class OpenEjbBean<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.webbeans.ejb.component.OpenEjbBean<T>
- All Implemented Interfaces:
- Contextual<T>, Bean<T>, EnterpriseBeanMarker, InjectionTargetBean<T>, InterceptedMarker, OwbBean<T>
public class OpenEjbBean<T>
- extends BaseEjbBean<T>
Defines bean contract for the session beans.
- Version:
- $Rev$ $Date$
| Fields inherited from class org.apache.webbeans.component.AbstractOwbBean |
apiTypes, enabled, implQualifiers, implScopeType, injectionPoints, name, nullable, passivatingId, returnType, serializable, specializedBean, stereoTypes, webBeansType |
|
Constructor Summary |
OpenEjbBean(Class<T> ejbClassType)
Creates a new instance of the session bean. |
| Methods inherited from class org.apache.webbeans.component.AbstractInjectionTargetBean |
addInjectedField, addInjectedFieldToSuper, addInjectedMethod, addInjectedMethodToSuper, addObservableMethod, afterConstructor, beforeConstructor, createDefaultInstance, createInstance, destroyInstance, getAnnotatedType, getDecoratorStack, getInheritedMetaData, getInjectedFields, getInjectedFromSuperFields, getInjectedFromSuperMethods, getInjectedMethods, getInjectionPoints, getInterceptorStack, getLogger, getObservableMethods, injectMethods, injectResources, injectSuperFields, injectSuperMethods, postConstruct, postConstructDefault, preDestroy, preDestroyDefault, setAnnotatedType, setInheritedMetaData, validatePassivationDependencies |
| Methods inherited from class org.apache.webbeans.component.AbstractOwbBean |
addApiType, addInjectionPoint, addQualifier, addStereoType, create, createNewInstance, destroy, destroyCreatedInstance, getBeanClass, getId, getImplQualifiers, getImplScopeType, getInjectionPoint, getManager, getName, getOwbStereotypes, getQualifiers, getReturnType, getScope, getStereotypes, getTypes, getWebBeansType, isAlternative, isDependent, isEnabled, isNullable, isSerializable, isSpecializedBean, setEnabled, setImplScopeType, setName, setNullable, setSerializable, setSpecializedBean, toString |
| Methods inherited from interface org.apache.webbeans.component.OwbBean |
addApiType, addInjectionPoint, addQualifier, addStereoType, createNewInstance, destroyCreatedInstance, getId, getImplQualifiers, getImplScopeType, getInjectionPoint, getOwbStereotypes, getReturnType, getWebBeansType, isDependent, isEnabled, isSerializable, isSpecializedBean, setEnabled, setImplScopeType, setName, setNullable, setSerializable, setSpecializedBean |
OpenEjbBean
public OpenEjbBean(Class<T> ejbClassType)
- Creates a new instance of the session bean.
- Parameters:
ejbClassType - ebj class type
setDeploymentInfo
public void setDeploymentInfo(org.apache.openejb.DeploymentInfo deploymentInfo)
- Sets session bean's deployment info.
- Parameters:
deploymentInfo - deployment info
getDeploymentInfo
public org.apache.openejb.DeploymentInfo getDeploymentInfo()
- Returns bean's deployment info.
- Returns:
- bean's deployment info
getInstance
protected T getInstance(CreationalContext<T> creationalContext)
-
- Specified by:
getInstance in class BaseEjbBean<T>
getEjbName
public String getEjbName()
- Gets ejb name.
- Overrides:
getEjbName in class BaseEjbBean<T>
- Returns:
- ejb name
getBusinessLocalInterfaces
public List<Class<?>> getBusinessLocalInterfaces()
- Overrides:
getBusinessLocalInterfaces in class BaseEjbBean<T>
getRemoveMethods
public List<Method> getRemoveMethods()
- Overrides:
getRemoveMethods in class BaseEjbBean<T>
Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.