public class ConversationBean extends AbstractStaticallyDecorableBuiltInBean<Conversation>
AbstractBuiltInBean.BuiltInBeanAttributes<T>
beanManager
Constructor and Description |
---|
ConversationBean(BeanManagerImpl beanManager) |
Modifier and Type | Method and Description |
---|---|
void |
destroy(Conversation instance,
CreationalContext<Conversation> creationalContext)
Destroy an instance of the contextual type.
|
Class<?> |
getBeanClass()
The bean class of the managed bean or session bean or of the bean that declares the producer method or
field.
|
String |
getName()
Obtains the EL name of a bean, if it has one.
|
Class<? extends Annotation> |
getScope()
Obtains the scope of the bean.
|
void |
internalInitialize(BeanDeployerEnvironment environment) |
protected Conversation |
newInstance(InjectionPoint ip,
CreationalContext<Conversation> creationalContext) |
getDecorators, getProxyClass, initializeAfterBeanDiscovery
create, getDecorators, getInjectionPoint
cleanupAfterBoot, getInjectionPoints, getType, isPassivationCapableBean, isPassivationCapableDependency, isProxyable, isProxyRequired, preInitialize
getBeanManager, getQualifierInstances, initialize, isDependent, isNormalScoped
attributes, equals, getId, getIdentifier, hashCode, isNullable, setAttributes, toString, unwrap
getQualifiers, getStereotypes, getTypes, isAlternative
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getInjectionPoints, isNullable
getQualifiers, getStereotypes, getTypes, isAlternative
getId
public ConversationBean(BeanManagerImpl beanManager)
public void internalInitialize(BeanDeployerEnvironment environment)
internalInitialize
in class AbstractBuiltInBean<Conversation>
protected Conversation newInstance(InjectionPoint ip, CreationalContext<Conversation> creationalContext)
newInstance
in class AbstractDecorableBuiltInBean<Conversation>
public void destroy(Conversation instance, CreationalContext<Conversation> creationalContext)
Contextual
CreationalContext.release()
to allow the container to destroy dependent objects of
the contextual instance.instance
- the contextual instance to destroycreationalContext
- the context in which this instance was createdpublic Class<?> getBeanClass()
Bean
getBeanClass
in interface Bean<Conversation>
getBeanClass
in class AbstractDecorableBuiltInBean<Conversation>
public Class<? extends Annotation> getScope()
BeanAttributes
getScope
in interface BeanAttributes<Conversation>
getScope
in class ForwardingBeanAttributes<Conversation>
public String getName()
BeanAttributes
getName
in interface BeanAttributes<Conversation>
getName
in class ForwardingBeanAttributes<Conversation>
Copyright © 2014. All Rights Reserved.