Package org.jboss.weld.bean.builtin
Class ContextBean<T extends jakarta.enterprise.context.spi.Context>
- java.lang.Object
-
- org.jboss.weld.util.bean.ForwardingBeanAttributes<T>
-
- org.jboss.weld.bean.CommonBean<T>
-
- org.jboss.weld.bean.RIBean<T>
-
- org.jboss.weld.bean.builtin.AbstractBuiltInBean<T>
-
- org.jboss.weld.bean.builtin.ContextBean<T>
-
- All Implemented Interfaces:
jakarta.enterprise.context.spi.Contextual<T>
,jakarta.enterprise.inject.spi.Bean<T>
,jakarta.enterprise.inject.spi.BeanAttributes<T>
,jakarta.enterprise.inject.spi.PassivationCapable
,WeldBean<T>
public class ContextBean<T extends jakarta.enterprise.context.spi.Context> extends AbstractBuiltInBean<T>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jboss.weld.bean.builtin.AbstractBuiltInBean
AbstractBuiltInBean.BuiltInBeanAttributes<T>
-
-
Field Summary
-
Fields inherited from class org.jboss.weld.bean.RIBean
beanManager
-
-
Constructor Summary
Constructors Constructor Description ContextBean(ContextHolder<T> contextHolder, BeanManagerImpl beanManager)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description T
create(jakarta.enterprise.context.spi.CreationalContext<T> creationalContext)
Set<Annotation>
getQualifiers()
Set<Type>
getTypes()
static <T extends jakarta.enterprise.context.spi.Context>
ContextBean<T>of(ContextHolder<T> context, BeanManagerImpl beanManager)
-
Methods inherited from class org.jboss.weld.bean.builtin.AbstractBuiltInBean
cleanupAfterBoot, getInjectionPoints, getType, initializeAfterBeanDiscovery, internalInitialize, isDependentContextOptimizationAllowed, isPassivationCapableBean, isPassivationCapableDependency, isProxyable, isProxyRequired, preInitialize
-
Methods inherited from class org.jboss.weld.bean.RIBean
destroy, getBeanClass, getBeanManager, getContextualInstanceStrategy, getQualifierInstances, initialize, isDependent, isNormalScoped, setAttributes
-
Methods inherited from class org.jboss.weld.bean.CommonBean
attributes, equals, getId, getIdentifier, hashCode, isNullable, toString, unwrap
-
Methods inherited from class org.jboss.weld.util.bean.ForwardingBeanAttributes
getName, getScope, getStereotypes, isAlternative
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface jakarta.enterprise.inject.spi.BeanAttributes
getName, getScope, getStereotypes, isAlternative
-
Methods inherited from interface org.jboss.weld.bean.WeldBean
getPriority
-
-
-
-
Constructor Detail
-
ContextBean
public ContextBean(ContextHolder<T> contextHolder, BeanManagerImpl beanManager)
-
-
Method Detail
-
of
public static <T extends jakarta.enterprise.context.spi.Context> ContextBean<T> of(ContextHolder<T> context, BeanManagerImpl beanManager)
-
getTypes
public Set<Type> getTypes()
- Specified by:
getTypes
in interfacejakarta.enterprise.inject.spi.BeanAttributes<T extends jakarta.enterprise.context.spi.Context>
- Overrides:
getTypes
in classForwardingBeanAttributes<T extends jakarta.enterprise.context.spi.Context>
-
getQualifiers
public Set<Annotation> getQualifiers()
- Specified by:
getQualifiers
in interfacejakarta.enterprise.inject.spi.BeanAttributes<T extends jakarta.enterprise.context.spi.Context>
- Overrides:
getQualifiers
in classForwardingBeanAttributes<T extends jakarta.enterprise.context.spi.Context>
-
-