public class ManagedBean<T> extends AbstractInjectionTargetBean<T> implements InterceptedMarker
Bean.| Modifier and Type | Field and Description |
|---|---|
protected boolean |
isAbstractDecorator |
decorators, inheritedMetaData, interceptorStackapiTypes, enabled, implQualifiers, injectionPoints, logger, name, nullable, passivatingId, returnType, scopeClass, serializable, specializedBean, stereoTypeClasses, stereoTypes, webBeansContext, webBeansType| Constructor and Description |
|---|
ManagedBean(Class<T> returnType,
WebBeansContext webBeansContext) |
ManagedBean(Class<T> returnType,
WebBeansType type,
WebBeansContext webBeansContext)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addQualifier(Annotation qualifier)
Add new qualifier.
|
protected T |
createComponentInstance(javax.enterprise.context.spi.CreationalContext<T> creationalContext)
Sub-classes must override this method to create bean instance.
|
Constructor<T> |
getConstructor()
Get constructor.
|
boolean |
isFullInit() |
boolean |
isPassivationCapable()
True if passivation capable false otherwise.
|
void |
setConstructor(Constructor<T> constructor)
Set constructor.
|
void |
setFullInit(boolean fullInit) |
void |
setIsAbstractDecorator(boolean flag) |
addInjectedField, addInjectedFieldToSuper, addInjectedMethod, addInjectedMethodToSuper, addObservableMethod, afterConstructor, beforeConstructor, createDefaultInstance, createInstance, destroyComponentInstance, destroyInstance, getAnnotatedType, getDecoratorStack, getInheritedMetaData, getInjectedFields, getInjectedFromSuperFields, getInjectedFromSuperMethods, getInjectedMethods, getInterceptorStack, getObservableMethods, injectFields, injectMethods, injectResources, injectSuperFields, injectSuperMethods, postConstruct, postConstructDefault, preDestroy, preDestroyDefault, setAnnotatedType, setInheritedMetaData, validatePassivationDependenciesaddApiType, addInjectionPoint, addStereoType, create, createNewInstance, destroy, destroyCreatedInstance, equals, getBeanClass, getId, getInjectionPoint, getInjectionPoints, getLogger, getManager, getName, getOwbStereotypes, getQualifiers, getReturnType, getScope, getStereotypes, getTypes, getWebBeansContext, getWebBeansType, hashCode, isAlternative, isDependent, isEnabled, isNullable, isSerializable, isSpecializedBean, setEnabled, setImplScopeType, setName, setNullable, setSerializable, setSpecializedBean, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddApiType, addInjectionPoint, addStereoType, createNewInstance, destroyCreatedInstance, getId, getInjectionPoint, getOwbStereotypes, getReturnType, getWebBeansContext, getWebBeansType, isDependent, isEnabled, isSerializable, isSpecializedBean, setEnabled, setImplScopeType, setName, setNullable, setSerializable, setSpecializedBeanpublic ManagedBean(Class<T> returnType, WebBeansContext webBeansContext)
public ManagedBean(Class<T> returnType, WebBeansType type, WebBeansContext webBeansContext)
returnType - bean classtype - webbeans typewebBeansContext - protected T createComponentInstance(javax.enterprise.context.spi.CreationalContext<T> creationalContext)
createComponentInstance in class AbstractInjectionTargetBean<T>creationalContext - creational contextpublic boolean isFullInit()
public void setFullInit(boolean fullInit)
public void addQualifier(Annotation qualifier)
AbstractOwbBeanaddQualifier in interface OwbBean<T>addQualifier in class AbstractOwbBean<T>qualifier - new qualifierpublic Constructor<T> getConstructor()
public void setConstructor(Constructor<T> constructor)
constructor - constructor instancepublic boolean isPassivationCapable()
OwbBeanisPassivationCapable in interface OwbBean<T>isPassivationCapable in class AbstractOwbBean<T>public void setIsAbstractDecorator(boolean flag)
Copyright © 2008-2013 The Apache Software Foundation. All Rights Reserved.