|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.webbeans.component.AbstractOwbBean<T>
org.apache.webbeans.component.AbstractProducerBean<T>
org.apache.webbeans.component.ProducerFieldBean<X>
org.apache.webbeans.component.ResourceBean<X,T>
public class ResourceBean<X,T extends java.lang.annotation.Annotation>
| Field Summary |
|---|
| Fields inherited from class org.apache.webbeans.component.AbstractProducerBean |
|---|
ownerComponent |
| 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 | |
|---|---|
ResourceBean(java.lang.Class<X> returnType,
InjectionTargetBean<?> ownerBean,
ResourceReference<X,T> resourceReference)
|
|
| Method Summary | |
|---|---|
protected X |
createInstance(javax.enterprise.context.spi.CreationalContext<X> creationalContext)
Creates the instance of the bean that has a specific implementation type. |
X |
getActualInstance()
Called after deserialization to get a new instance for some type of resource bean instance that are not serializable. |
boolean |
isPassivationCapable()
True if passivation capable false otherwise. |
| Methods inherited from class org.apache.webbeans.component.ProducerFieldBean |
|---|
checkNullInstance, checkScopeType, createDefaultInstance, getActualTypeArguments, getCreatorField, setProducerField, toString |
| Methods inherited from class org.apache.webbeans.component.AbstractProducerBean |
|---|
destroyBean, destroyInstance, dispose, getInjectionPoints, getParent, getParentInstance, getParentInstanceFromContext, isPassivationCapable |
| Methods inherited from class org.apache.webbeans.component.AbstractOwbBean |
|---|
addApiType, addInjectionPoint, addQualifier, addStereoType, create, createNewInstance, destroy, destroyCreatedInstance, getBeanClass, getId, getImplQualifiers, getImplScopeType, getInjectionPoint, getLogger, getManager, getName, getOwbStereotypes, getQualifiers, getReturnType, getScope, getStereotypes, getTypes, getWebBeansContext, getWebBeansType, isAlternative, isDependent, isEnabled, isNullable, isSerializable, isSpecializedBean, setEnabled, setImplScopeType, setName, setNullable, setSerializable, setSpecializedBean, validatePassivationDependencies |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.webbeans.component.IBeanHasParent |
|---|
dispose, getParent |
| Constructor Detail |
|---|
public ResourceBean(java.lang.Class<X> returnType,
InjectionTargetBean<?> ownerBean,
ResourceReference<X,T> resourceReference)
| Method Detail |
|---|
protected X createInstance(javax.enterprise.context.spi.CreationalContext<X> creationalContext)
ProducerFieldBean
createInstance in class ProducerFieldBean<X>creationalContext - the contextual instance shall be created in
public X getActualInstance()
public boolean isPassivationCapable()
OwbBean
isPassivationCapable in interface OwbBean<X>isPassivationCapable in class ProducerFieldBean<X>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||