public class ContextBean<T extends javax.enterprise.context.spi.Context> extends AbstractBuiltInBean<T>
AbstractBuiltInBean.BuiltInBeanAttributes<T>
beanManager
Constructor and Description |
---|
ContextBean(ContextHolder<T> contextHolder,
BeanManagerImpl beanManager) |
Modifier and Type | Method and Description |
---|---|
T |
create(javax.enterprise.context.spi.CreationalContext<T> creationalContext) |
void |
destroy(T instance,
javax.enterprise.context.spi.CreationalContext<T> creationalContext) |
Set<Annotation> |
getQualifiers() |
Set<Type> |
getTypes() |
static <T extends javax.enterprise.context.spi.Context> |
of(ContextHolder<T> context,
BeanManagerImpl beanManager) |
cleanupAfterBoot, getInjectionPoints, getType, initializeAfterBeanDiscovery, internalInitialize, isPassivationCapableBean, isPassivationCapableDependency, isProxyable, isProxyRequired, preInitialize
getBeanClass, getBeanManager, getQualifierInstances, initialize, isDependent, isNormalScoped
attributes, equals, getId, getIdentifier, hashCode, isNullable, setAttributes, toString, unwrap
getName, getScope, getStereotypes, isAlternative
public ContextBean(ContextHolder<T> contextHolder, BeanManagerImpl beanManager)
public static <T extends javax.enterprise.context.spi.Context> ContextBean<T> of(ContextHolder<T> context, BeanManagerImpl beanManager)
public Set<Type> getTypes()
getTypes
in interface javax.enterprise.inject.spi.BeanAttributes<T extends javax.enterprise.context.spi.Context>
getTypes
in class ForwardingBeanAttributes<T extends javax.enterprise.context.spi.Context>
public void destroy(T instance, javax.enterprise.context.spi.CreationalContext<T> creationalContext)
public Set<Annotation> getQualifiers()
getQualifiers
in interface javax.enterprise.inject.spi.BeanAttributes<T extends javax.enterprise.context.spi.Context>
getQualifiers
in class ForwardingBeanAttributes<T extends javax.enterprise.context.spi.Context>
Copyright © 2016. All rights reserved.