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,
javax.enterprise.inject.spi.BeanAttributes<X> beanAttributes,
Class<X> beanClass,
javax.enterprise.inject.spi.ProducerFactory<X> producerFactory) |
| 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.
|
addToStringInfo, create, getCreatorField, getId, setProducerFieldcheckNullInstance, checkScopeType, getOwnerComponent, getProducer, getReturnType, isPassivationCapable, providedIddestroy, equals, getBeanClass, getInjectionPoints, getLogger, getWebBeansContext, getWebBeansType, hashCode, isDependent, isEnabled, isSpecializedBean, setEnabled, setSpecializedBean, toStringgetName, getQualifiers, getScope, getStereotypes, getTypes, isAlternative, isNullablepublic ResourceBean(InjectionTargetBean<?> ownerComponent, ResourceReference<X,T> resourceReference, javax.enterprise.inject.spi.BeanAttributes<X> beanAttributes, Class<X> beanClass, javax.enterprise.inject.spi.ProducerFactory<X> producerFactory)
public ResourceReference<X,T> getReference()
public X getActualInstance()
public boolean isPassivationCapable()
OwbBeanisPassivationCapable in interface OwbBean<X>isPassivationCapable in class ProducerFieldBean<X>Copyright © 2008–2020 The Apache Software Foundation. All rights reserved.