org.apache.webbeans.component
Class InstanceBean<T>
java.lang.Object
org.apache.webbeans.component.AbstractOwbBean<Provider<T>>
org.apache.webbeans.component.InstanceBean<T>
- All Implemented Interfaces:
- Contextual<Provider<T>>, Bean<Provider<T>>, OwbBean<Provider<T>>
public class InstanceBean<T>
- extends AbstractOwbBean<Provider<T>>
| Fields inherited from class org.apache.webbeans.component.AbstractOwbBean |
apiTypes, enabled, implQualifiers, implScopeType, injectionPoints, logger, name, nullable, passivatingId, returnType, scopeClass, serializable, specializedBean, stereoTypeClasses, stereoTypes, webBeansType |
| Methods inherited from class org.apache.webbeans.component.AbstractOwbBean |
addApiType, addInjectionPoint, addQualifier, addStereoType, create, createNewInstance, destroy, destroyCreatedInstance, destroyInstance, getBeanClass, getId, getImplQualifiers, getImplScopeType, getInjectionPoint, getInjectionPoints, getLogger, getManager, getName, getOwbStereotypes, getQualifiers, getReturnType, getScope, getStereotypes, getTypes, getWebBeansType, isAlternative, isDependent, isEnabled, isNullable, isSerializable, isSpecializedBean, setEnabled, setImplScopeType, setName, setNullable, setSerializable, setSpecializedBean, toString, validatePassivationDependencies |
local
public static ThreadLocal<InjectionPoint> local
InstanceBean
public InstanceBean()
createInstance
protected Provider<T> createInstance(CreationalContext<Provider<T>> 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<Provider<T>>
- Parameters:
creationalContext - the contextual instance shall be created in
- Returns:
- instance of the bean
isPassivationCapable
public boolean isPassivationCapable()
- Description copied from interface:
OwbBean
- True if passivation capable false otherwise.
- Specified by:
isPassivationCapable in interface OwbBean<Provider<T>>- Overrides:
isPassivationCapable in class AbstractOwbBean<Provider<T>>
- Returns:
- true if this bean is passivation capable
Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.