Home » apache-openwebbeans-1.0.0-incubating-M3-sources » org.apache.webbeans.ejb.component » [javadoc | source]
org.apache.webbeans.ejb.component
public class: EjbBean [javadoc | source]
java.lang.Object
   org.apache.webbeans.component.BaseBean<T>
      org.apache.webbeans.component.AbstractBean<T>
         org.apache.webbeans.component.AbstractInjectionTargetBean<T>
            org.apache.webbeans.ejb.component.EjbBean

All Implemented Interfaces:
    EnterpriseBeanMarker, InjectionTargetBean, javax.enterprise.inject.spi.Bean

Defines bean contract for the session beans.
Fields inherited from org.apache.webbeans.component.AbstractInjectionTargetBean:
fromRealizes,  injectionTarget
Fields inherited from org.apache.webbeans.component.AbstractBean:
name,  type,  implScopeType,  implQualifiers,  apiTypes,  webBeansType,  returnType,  stereoTypes,  specializedBean,  interceptorStack,  decoratorStack,  serializable,  nullable,  injectionPoints,  inheritedMetaData,  dependentOwnerInjectionPoint,  creationalContext
Constructor:
 public EjbBean(Class<T> ejbClassType) 
    Creates a new instance of the session bean.
    Parameters:
    ejbClassType - ebj class type
Method from org.apache.webbeans.ejb.component.EjbBean Summary:
createComponentInstance,   destroyComponentInstance,   getDeploymentInfo,   getEjbName,   getEjbType,   injectFieldInInterceptor,   injectFields,   setDeploymentInfo,   setEjbType,   setIface,   setRemoveStatefulInstance
Methods from org.apache.webbeans.component.AbstractInjectionTargetBean:
addInjectedField,   addInjectedMethod,   addObservableMethod,   afterConstructor,   beforeConstructor,   createComponentInstance,   createDefaultInstance,   createInstance,   destroyComponentInstance,   destroyInstance,   getInjectedFields,   getInjectedMethods,   getInjectionPoints,   getInjectionTarget,   getLogger,   getObservableMethods,   injectFields,   injectMethods,   injectResources,   isFromRealizes,   isInjectionTargetSet,   postConstruct,   postConstructDefault,   preDestroy,   preDestroyDefault,   setFromRealizes,   setInjectionTarget
Methods from org.apache.webbeans.component.AbstractBean:
addApiType,   addInjectionPoint,   addQualifier,   addStereoType,   create,   createInstance,   destroy,   destroyInstance,   getBeanClass,   getCreationalContext,   getDecoratorStack,   getDependent,   getDependentOwnerInjectionPoint,   getDeploymentType,   getImplQualifiers,   getImplScopeType,   getInheritedMetaData,   getInjectionPoint,   getInjectionPoints,   getInterceptorStack,   getLogger,   getName,   getOwbStereotypes,   getPrecedence,   getQualifiers,   getReturnType,   getScope,   getStereotypes,   getType,   getTypes,   getWebBeansType,   isAlternative,   isNullable,   isSerializable,   isSpecializedBean,   setCreationalContext,   setDependentOwnerInjectionPoint,   setImplScopeType,   setInheritedMetaData,   setName,   setNullable,   setSerializable,   setSpecializedBean,   setType,   toString
Methods from org.apache.webbeans.component.BaseBean:
addApiType,   addInjectionPoint,   addQualifier,   addStereoType,   getCreationalContext,   getDecoratorStack,   getDependent,   getImplQualifiers,   getImplScopeType,   getInheritedMetaData,   getInjectionPoint,   getInterceptorStack,   getManager,   getOwbStereotypes,   getPrecedence,   getReturnType,   getType,   getWebBeansType,   isSpecializedBean,   setCreationalContext,   setImplScopeType,   setName,   setNullable,   setSerializable,   setSpecializedBean,   setType
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.webbeans.ejb.component.EjbBean Detail:
 protected T createComponentInstance(CreationalContext<T> creationalContext) 
    {@inheritDoc}
 protected  void destroyComponentInstance(T instance) 
    {@inheritDoc}
 public DeploymentInfo getDeploymentInfo() 
    Returns bean's deployment info.
 public String getEjbName() 
    Gets ejb name.
 public SessionBeanType getEjbType() 
    Gets ejb session type.
 public  void injectFieldInInterceptor(Object instance,
    CreationalContext<?> creationalContext) 
    Inject session bean injected fields. It is called from interceptor.
 public  void injectFields(T instance,
    CreationalContext<T> creationalContext) 
    {@inheritDoc}
 public  void setDeploymentInfo(DeploymentInfo deploymentInfo) 
    Sets session bean's deployment info.
 public  void setEjbType(SessionBeanType type) 
    Sets session bean type.
 public  void setIface(Class<?> iface) 
    Sets local interface type.
 public  void setRemoveStatefulInstance(boolean remove) 
    Sets remove flag.