public abstract class AbstractEEBean<T> extends AbstractStaticallyDecorableBuiltInBean<T>
AbstractBuiltInBean.BuiltInBeanAttributes<T>
beanManager
BEAN_ID_PREFIX, BEAN_ID_SEPARATOR
Modifier | Constructor and Description |
---|---|
protected |
AbstractEEBean(Class<T> type,
Callable<T> callable,
BeanManagerImpl beanManager) |
Modifier and Type | Method and Description |
---|---|
void |
destroy(T instance,
CreationalContext<T> creationalContext)
Destroy an instance of the contextual type.
|
protected T |
newInstance(InjectionPoint ip,
CreationalContext<T> creationalContext) |
getDecorators, getProxyClass, initializeAfterBeanDiscovery
create, getBeanClass, getDecorators, getInjectionPoint
cleanupAfterBoot, getInjectionPoints, getType, internalInitialize, isPassivationCapableBean, isPassivationCapableDependency, isProxyable, isProxyRequired, preInitialize
getBeanManager, getQualifierInstances, initialize, isDependent
attributes, equals, getId, hashCode, isNullable, setAttributes, toString, unwrap
getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternative
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getInjectionPoints, isNullable
getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternative
getId
protected AbstractEEBean(Class<T> type, Callable<T> callable, BeanManagerImpl beanManager)
protected T newInstance(InjectionPoint ip, CreationalContext<T> creationalContext)
newInstance
in class AbstractDecorableBuiltInBean<T>
public void destroy(T instance, CreationalContext<T> 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 createdCopyright © 2013 Seam Framework. All Rights Reserved.