org.apache.webbeans.component
Class ConversationBean

java.lang.Object
  extended by org.apache.webbeans.component.AbstractOwbBean<T>
      extended by org.apache.webbeans.component.AbstractInjectionTargetBean<javax.enterprise.context.Conversation>
          extended by org.apache.webbeans.component.ConversationBean
All Implemented Interfaces:
javax.enterprise.context.spi.Contextual<javax.enterprise.context.Conversation>, javax.enterprise.inject.spi.Bean<javax.enterprise.context.Conversation>, InjectionTargetBean<javax.enterprise.context.Conversation>, OwbBean<javax.enterprise.context.Conversation>

public class ConversationBean
extends AbstractInjectionTargetBean<javax.enterprise.context.Conversation>

Conversation bean implementation.

Version:
$Rev$ $Date$

Field Summary
 
Fields inherited from class org.apache.webbeans.component.AbstractInjectionTargetBean
decorators, inheritedMetaData, interceptorStack
 
Fields inherited from class org.apache.webbeans.component.AbstractOwbBean
apiTypes, enabled, implQualifiers, implScopeType, injectionPoints, name, nullable, passivatingId, returnType, scopeClass, serializable, specializedBean, stereoTypeClasses, stereoTypes, webBeansType
 
Constructor Summary
ConversationBean(WebBeansContext webBeansContext)
          Default constructor.
 
Method Summary
protected  javax.enterprise.context.Conversation createInstance(javax.enterprise.context.spi.CreationalContext<javax.enterprise.context.Conversation> creationalContext)
          Creates the instance of the bean that has a specific implementation type.
protected  void destroyInstance(javax.enterprise.context.Conversation instance, javax.enterprise.context.spi.CreationalContext<javax.enterprise.context.Conversation> creationalContext)
          Destroy the instance of the bean.
 
Methods inherited from class org.apache.webbeans.component.AbstractInjectionTargetBean
addInjectedField, addInjectedFieldToSuper, addInjectedMethod, addInjectedMethodToSuper, addObservableMethod, afterConstructor, beforeConstructor, createComponentInstance, createDefaultInstance, destroyComponentInstance, getAnnotatedType, getDecoratorStack, getInheritedMetaData, getInjectedFields, getInjectedFromSuperFields, getInjectedFromSuperMethods, getInjectedMethods, getInjectionPoints, getInterceptorStack, getObservableMethods, injectFields, injectMethods, injectResources, injectSuperFields, injectSuperMethods, postConstruct, postConstructDefault, preDestroy, preDestroyDefault, setAnnotatedType, setInheritedMetaData, validatePassivationDependencies
 
Methods inherited from class org.apache.webbeans.component.AbstractOwbBean
addApiType, addInjectionPoint, addQualifier, addStereoType, create, createNewInstance, destroy, destroyCreatedInstance, equals, getBeanClass, getId, getImplQualifiers, getImplScopeType, getInjectionPoint, getLogger, getManager, getName, getOwbStereotypes, getQualifiers, getReturnType, getScope, getStereotypes, getTypes, getWebBeansContext, getWebBeansType, hashCode, isAlternative, isDependent, isEnabled, isNullable, isPassivationCapable, isSerializable, isSpecializedBean, setEnabled, setImplScopeType, setName, setNullable, setSerializable, setSpecializedBean, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.webbeans.component.OwbBean
addApiType, addInjectionPoint, addQualifier, addStereoType, createNewInstance, destroyCreatedInstance, getId, getImplQualifiers, getImplScopeType, getInjectionPoint, getOwbStereotypes, getReturnType, getWebBeansContext, getWebBeansType, isDependent, isEnabled, isPassivationCapable, isSerializable, isSpecializedBean, setEnabled, setImplScopeType, setName, setNullable, setSerializable, setSpecializedBean
 
Methods inherited from interface javax.enterprise.inject.spi.Bean
getBeanClass, getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternative, isNullable
 
Methods inherited from interface javax.enterprise.context.spi.Contextual
create, destroy
 

Constructor Detail

ConversationBean

public ConversationBean(WebBeansContext webBeansContext)
Default constructor.

Parameters:
webBeansContext -
Method Detail

createInstance

protected javax.enterprise.context.Conversation createInstance(javax.enterprise.context.spi.CreationalContext<javax.enterprise.context.Conversation> creationalContext)
Creates the instance of the bean that has a specific implementation type. Each subclass must define its own create mechanism.

Overrides:
createInstance in class AbstractInjectionTargetBean<javax.enterprise.context.Conversation>
Parameters:
creationalContext - the contextual instance shall be created in
Returns:
instance of the bean

destroyInstance

protected void destroyInstance(javax.enterprise.context.Conversation instance,
                               javax.enterprise.context.spi.CreationalContext<javax.enterprise.context.Conversation> creationalContext)
Description copied from class: AbstractInjectionTargetBean
Destroy the instance of the bean. Each subclass must define its own destroy mechanism.

Overrides:
destroyInstance in class AbstractInjectionTargetBean<javax.enterprise.context.Conversation>
Parameters:
instance - instance of the bean that is being destroyed
creationalContext - the contextual instance has been created in


Copyright © 2008-2011 The Apache Software Foundation. All Rights Reserved.