public class ResourceBean<X,T extends Annotation> extends ProducerFieldBean<X>
enabled, logger, passivatingId, specializedBean, webBeansContext, webBeansType
Constructor and Description |
---|
ResourceBean(InjectionTargetBean<?> ownerComponent,
ResourceReference<X,T> resourceReference,
BeanAttributesImpl<X> beanAttributes,
Class<X> beanClass) |
Modifier and Type | Method and Description |
---|---|
X |
getActualInstance()
Called after deserialization to get a new instance for some type of resource bean instance that are
not serializable.
|
ResourceReference<X,T> |
getReference() |
boolean |
isPassivationCapable()
True if passivation capable false otherwise.
|
create, getCreatorField, getId, setProducerField
checkNullInstance, checkScopeType, dispose, getOwnerBean, getProducer, getReturnType, isPassivationCapable
destroy, getBeanClass, getInjectionPoints, getLogger, getWebBeansContext, getWebBeansType, isAlternative, isDependent, isEnabled, isSpecializedBean, setEnabled, setSpecializedBean, toString
getName, getQualifiers, getScope, getStereotypes, getTypes, isNullable
public ResourceBean(InjectionTargetBean<?> ownerComponent, ResourceReference<X,T> resourceReference, BeanAttributesImpl<X> beanAttributes, Class<X> beanClass)
public ResourceReference<X,T> getReference()
public X getActualInstance()
public boolean isPassivationCapable()
OwbBean
isPassivationCapable
in interface OwbBean<X>
isPassivationCapable
in class ProducerFieldBean<X>
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.