Class PassivationCapableThirdpartyBeanImpl<T>
- java.lang.Object
-
- org.apache.webbeans.component.BeanAttributesImpl<T>
-
- org.apache.webbeans.component.AbstractOwbBean<T>
-
- org.apache.webbeans.component.third.ThirdpartyBeanImpl<T>
-
- org.apache.webbeans.component.third.PassivationCapableThirdpartyBeanImpl<T>
-
- All Implemented Interfaces:
javax.enterprise.context.spi.Contextual<T>,javax.enterprise.inject.spi.Bean<T>,javax.enterprise.inject.spi.BeanAttributes<T>,javax.enterprise.inject.spi.PassivationCapable,OwbBean<T>
public class PassivationCapableThirdpartyBeanImpl<T> extends ThirdpartyBeanImpl<T>
-
-
Field Summary
-
Fields inherited from class org.apache.webbeans.component.AbstractOwbBean
enabled, logger, passivatingId, specializedBean, webBeansContext, webBeansType
-
-
Constructor Summary
Constructors Constructor Description PassivationCapableThirdpartyBeanImpl(WebBeansContext webBeansContext, javax.enterprise.inject.spi.Bean<T> bean)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetId()get the unique Id of the bean.booleanisPassivationCapable()True if passivation capable false otherwise.-
Methods inherited from class org.apache.webbeans.component.third.ThirdpartyBeanImpl
create, destroy, equals, getBeanClass, getInjectionPoints, getProducer, hashCode, isAlternative
-
Methods inherited from class org.apache.webbeans.component.AbstractOwbBean
addToStringInfo, getLogger, getReturnType, getWebBeansContext, getWebBeansType, isDependent, isEnabled, isSpecializedBean, providedId, setEnabled, setSpecializedBean, toString
-
Methods inherited from class org.apache.webbeans.component.BeanAttributesImpl
getName, getQualifiers, getScope, getStereotypes, getTypes, isNullable
-
-
-
-
Constructor Detail
-
PassivationCapableThirdpartyBeanImpl
public PassivationCapableThirdpartyBeanImpl(WebBeansContext webBeansContext, javax.enterprise.inject.spi.Bean<T> bean)
-
-
Method Detail
-
getId
public String getId()
Description copied from class:AbstractOwbBeanget the unique Id of the bean. This will get used as reference on passivation. Gets id of the bean.
-
isPassivationCapable
public boolean isPassivationCapable()
Description copied from interface:OwbBeanTrue if passivation capable false otherwise.- Specified by:
isPassivationCapablein interfaceOwbBean<T>- Overrides:
isPassivationCapablein classThirdpartyBeanImpl<T>- Returns:
- true if this bean is passivation capable
-
-