Package org.apache.webbeans.component
Class InstanceBean<T>
- java.lang.Object
-
- org.apache.webbeans.component.BeanAttributesImpl<T>
-
- org.apache.webbeans.component.AbstractOwbBean<T>
-
- org.apache.webbeans.component.BuiltInOwbBean<jakarta.enterprise.inject.Instance<T>>
-
- org.apache.webbeans.component.InstanceBean<T>
-
- All Implemented Interfaces:
jakarta.enterprise.context.spi.Contextual<jakarta.enterprise.inject.Instance<T>>,jakarta.enterprise.inject.spi.Bean<jakarta.enterprise.inject.Instance<T>>,jakarta.enterprise.inject.spi.BeanAttributes<jakarta.enterprise.inject.Instance<T>>,jakarta.enterprise.inject.spi.PassivationCapable,OwbBean<jakarta.enterprise.inject.Instance<T>>
public class InstanceBean<T> extends BuiltInOwbBean<jakarta.enterprise.inject.Instance<T>>
-
-
Field Summary
-
Fields inherited from class org.apache.webbeans.component.AbstractOwbBean
enabled, logger, passivatingId, specializedBean, webBeansContext, webBeansType
-
-
Constructor Summary
Constructors Constructor Description InstanceBean(WebBeansContext webBeansContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisPassivationCapable()True if passivation capable false otherwise.Class<?>proxyableType()-
Methods inherited from class org.apache.webbeans.component.BuiltInOwbBean
getProducer
-
Methods inherited from class org.apache.webbeans.component.AbstractOwbBean
addToStringInfo, create, destroy, equals, getBeanClass, getId, getInjectionPoints, getLogger, getReturnType, getWebBeansContext, getWebBeansType, hashCode, isDependent, isEnabled, isSpecializedBean, providedId, setEnabled, setSpecializedBean, toString
-
Methods inherited from class org.apache.webbeans.component.BeanAttributesImpl
getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternative
-
-
-
-
Constructor Detail
-
InstanceBean
public InstanceBean(WebBeansContext webBeansContext)
-
-
Method Detail
-
isPassivationCapable
public boolean isPassivationCapable()
Description copied from interface:OwbBeanTrue if passivation capable false otherwise.- Specified by:
isPassivationCapablein interfaceOwbBean<T>- Overrides:
isPassivationCapablein classAbstractOwbBean<jakarta.enterprise.inject.Instance<T>>- Returns:
- true if this bean is passivation capable
-
proxyableType
public Class<?> proxyableType()
- Specified by:
proxyableTypein classBuiltInOwbBean<jakarta.enterprise.inject.Instance<T>>- Returns:
- some built in beans can be decorated, this class is the one used to generate the proxy
-
-