T - type infopublic class ExtensionBean<T> extends AbstractInjectionTargetBean<T>
decorators, inheritedMetaData, interceptorStackapiTypes, enabled, implQualifiers, injectionPoints, logger, name, nullable, passivatingId, returnType, scopeClass, serializable, specializedBean, stereoTypeClasses, stereoTypes, webBeansContext, webBeansType| Constructor and Description |
|---|
ExtensionBean(Class<T> returnType,
WebBeansContext webBeansContext)
Creates a new extesion bean.
|
| Modifier and Type | Method and Description |
|---|---|
protected T |
createComponentInstance(javax.enterprise.context.spi.CreationalContext<T> creationalContext)
Sub-classes must override this method to create bean instance.
|
protected void |
destroyComponentInstance(T instance,
javax.enterprise.context.spi.CreationalContext<T> creationalContext)
Sub-classes must override this method to destroy bean instance.
|
addInjectedField, addInjectedFieldToSuper, addInjectedMethod, addInjectedMethodToSuper, addObservableMethod, afterConstructor, beforeConstructor, createDefaultInstance, createInstance, destroyInstance, getAnnotatedType, getDecoratorStack, getInheritedMetaData, getInjectedFields, getInjectedFromSuperFields, getInjectedFromSuperMethods, getInjectedMethods, getInterceptorStack, getObservableMethods, injectFields, injectMethods, injectResources, injectSuperFields, injectSuperMethods, postConstruct, postConstructDefault, preDestroy, preDestroyDefault, setAnnotatedType, setInheritedMetaData, validatePassivationDependenciesaddApiType, addInjectionPoint, addQualifier, 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, isPassivationCapable, isSerializable, isSpecializedBean, setEnabled, setImplScopeType, setName, setNullable, setSerializable, setSpecializedBean, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddApiType, addInjectionPoint, addQualifier, addStereoType, createNewInstance, destroyCreatedInstance, getId, getInjectionPoint, getOwbStereotypes, getReturnType, getWebBeansContext, getWebBeansType, isDependent, isEnabled, isPassivationCapable, isSerializable, isSpecializedBean, setEnabled, setImplScopeType, setName, setNullable, setSerializable, setSpecializedBeanpublic ExtensionBean(Class<T> returnType, WebBeansContext webBeansContext)
returnType - return typewebBeansContext - protected T createComponentInstance(javax.enterprise.context.spi.CreationalContext<T> creationalContext)
createComponentInstance in class AbstractInjectionTargetBean<T>creationalContext - creational contextprotected void destroyComponentInstance(T instance, javax.enterprise.context.spi.CreationalContext<T> creationalContext)
destroyComponentInstance in class AbstractInjectionTargetBean<T>instance - object instance.Copyright © 2008-2013 The Apache Software Foundation. All Rights Reserved.