Package org.jboss.weld.bean.builtin
Class ContextBean<T extends javax.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:
javax.enterprise.context.spi.Contextual<T>,javax.enterprise.inject.spi.Bean<T>,javax.enterprise.inject.spi.BeanAttributes<T>,javax.enterprise.inject.spi.PassivationCapable
public class ContextBean<T extends javax.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 Tcreate(javax.enterprise.context.spi.CreationalContext<T> creationalContext)Set<Annotation>getQualifiers()Set<Type>getTypes()static <T extends javax.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
-
-
-
-
Constructor Detail
-
ContextBean
public ContextBean(ContextHolder<T> contextHolder, BeanManagerImpl beanManager)
-
-
Method Detail
-
of
public static <T extends javax.enterprise.context.spi.Context> ContextBean<T> of(ContextHolder<T> context, BeanManagerImpl beanManager)
-
getTypes
public Set<Type> getTypes()
- Specified by:
getTypesin interfacejavax.enterprise.inject.spi.BeanAttributes<T extends javax.enterprise.context.spi.Context>- Overrides:
getTypesin classForwardingBeanAttributes<T extends javax.enterprise.context.spi.Context>
-
getQualifiers
public Set<Annotation> getQualifiers()
- Specified by:
getQualifiersin interfacejavax.enterprise.inject.spi.BeanAttributes<T extends javax.enterprise.context.spi.Context>- Overrides:
getQualifiersin classForwardingBeanAttributes<T extends javax.enterprise.context.spi.Context>
-
-