org.apache.webbeans.component
Class BeanManagerBean

java.lang.Object
  extended by org.apache.webbeans.component.AbstractOwbBean<javax.enterprise.inject.spi.BeanManager>
      extended by org.apache.webbeans.component.BeanManagerBean
All Implemented Interfaces:
javax.enterprise.context.spi.Contextual<javax.enterprise.inject.spi.BeanManager>, javax.enterprise.inject.spi.Bean<javax.enterprise.inject.spi.BeanManager>, OwbBean<javax.enterprise.inject.spi.BeanManager>

public class BeanManagerBean
extends AbstractOwbBean<javax.enterprise.inject.spi.BeanManager>


Field Summary
 
Fields inherited from class org.apache.webbeans.component.AbstractOwbBean
apiTypes, enabled, implQualifiers, implScopeType, injectionPoints, name, nullable, passivatingId, returnType, scopeClass, serializable, specializedBean, stereoTypeClasses, stereoTypes, webBeansType
 
Constructor Summary
BeanManagerBean(WebBeansContext webBeansContext)
           
 
Method Summary
protected  javax.enterprise.inject.spi.BeanManager createInstance(javax.enterprise.context.spi.CreationalContext<javax.enterprise.inject.spi.BeanManager> creationalContext)
          Creates the instance of the bean that has a specific implementation type.
protected  void destroyInstance(javax.enterprise.inject.spi.BeanManager instance, javax.enterprise.context.spi.CreationalContext<javax.enterprise.inject.spi.BeanManager> creationalContext)
          Destroy the instance of the bean.
 boolean isPassivationCapable()
          True if passivation capable false otherwise.
 
Methods inherited from class org.apache.webbeans.component.AbstractOwbBean
addApiType, addInjectionPoint, addQualifier, addStereoType, create, createNewInstance, destroy, destroyCreatedInstance, equals, getBeanClass, getId, getImplQualifiers, getImplScopeType, getInjectionPoint, 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, validatePassivationDependencies
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BeanManagerBean

public BeanManagerBean(WebBeansContext webBeansContext)
Method Detail

createInstance

protected javax.enterprise.inject.spi.BeanManager createInstance(javax.enterprise.context.spi.CreationalContext<javax.enterprise.inject.spi.BeanManager> creationalContext)
Description copied from class: AbstractOwbBean
Creates the instance of the bean that has a specific implementation type. Each subclass must define its own create mechanism.

Specified by:
createInstance in class AbstractOwbBean<javax.enterprise.inject.spi.BeanManager>
Parameters:
creationalContext - the contextual instance shall be created in
Returns:
instance of the bean

destroyInstance

protected void destroyInstance(javax.enterprise.inject.spi.BeanManager instance,
                               javax.enterprise.context.spi.CreationalContext<javax.enterprise.inject.spi.BeanManager> creationalContext)
Description copied from class: AbstractOwbBean
Destroy the instance of the bean. Each subclass must define its own destroy mechanism.

Overrides:
destroyInstance in class AbstractOwbBean<javax.enterprise.inject.spi.BeanManager>
Parameters:
instance - instance of the bean that is being destroyed
creationalContext - the contextual instance has been created in

isPassivationCapable

public boolean isPassivationCapable()
Description copied from interface: OwbBean
True if passivation capable false otherwise.

Specified by:
isPassivationCapable in interface OwbBean<javax.enterprise.inject.spi.BeanManager>
Overrides:
isPassivationCapable in class AbstractOwbBean<javax.enterprise.inject.spi.BeanManager>
Returns:
true if this bean is passivation capable
See Also:
AbstractOwbBean.isPassivationCapable()


Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.