public class InstanceBean<T> extends AbstractOwbBean<javax.enterprise.inject.Instance<T>>
| Modifier and Type | Field and Description |
|---|---|
static ThreadLocal<javax.enterprise.inject.spi.InjectionPoint> |
local |
apiTypes, enabled, implQualifiers, injectionPoints, logger, name, nullable, passivatingId, returnType, scopeClass, serializable, specializedBean, stereoTypeClasses, stereoTypes, webBeansContext, webBeansType| Constructor and Description |
|---|
InstanceBean(WebBeansContext webBeansContext) |
| Modifier and Type | Method and Description |
|---|---|
protected javax.enterprise.inject.Instance<T> |
createInstance(javax.enterprise.context.spi.CreationalContext<javax.enterprise.inject.Instance<T>> creationalContext)
Creates the instance of the bean that has a specific implementation
type.
|
boolean |
isPassivationCapable()
True if passivation capable false otherwise.
|
addApiType, addInjectionPoint, addQualifier, addStereoType, create, createNewInstance, destroy, destroyCreatedInstance, destroyInstance, equals, getBeanClass, getId, 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, validatePassivationDependenciespublic static ThreadLocal<javax.enterprise.inject.spi.InjectionPoint> local
public InstanceBean(WebBeansContext webBeansContext)
protected javax.enterprise.inject.Instance<T> createInstance(javax.enterprise.context.spi.CreationalContext<javax.enterprise.inject.Instance<T>> creationalContext)
AbstractOwbBeancreateInstance in class AbstractOwbBean<javax.enterprise.inject.Instance<T>>creationalContext - the contextual instance shall be created inpublic boolean isPassivationCapable()
OwbBeanisPassivationCapable in interface OwbBean<javax.enterprise.inject.Instance<T>>isPassivationCapable in class AbstractOwbBean<javax.enterprise.inject.Instance<T>>Copyright © 2008-2013 The Apache Software Foundation. All Rights Reserved.