public abstract class RIBean<T>extends CommonBean<T>implements PassivationCapable
|Modifier||Constructor and Description|
|Modifier and Type||Method and Description|
This method is called after the container is started allowing the bean to release any resources that are only required at boot time
Destroy an instance of the contextual type.
The bean class of the managed bean or session bean or of the bean that declares the producer method or field.
Initializes the bean and its metadata.
In particular cases, the deployer must perform some initialization operations only after all beans have been deployed (e.g. for initializing decorators taking into account the possibility of having custom decorators which are deployed through portable extensions)
attributes, equals, getId, getIdentifier, hashCode, isNullable, toString, unwrap
getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternative
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
protected final BeanManagerImpl beanManager
public BeanManagerImpl getBeanManager()
public Class<?> getBeanClass()
public abstract void preInitialize()
public final void initialize(BeanDeployerEnvironment environment)
protected abstract void internalInitialize(BeanDeployerEnvironment environment)
public abstract void cleanupAfterBoot()
public abstract void initializeAfterBeanDiscovery()
public boolean isDependent()
public boolean isNormalScoped()
public abstract boolean isProxyable()
public abstract boolean isPassivationCapableBean()
public abstract boolean isPassivationCapableDependency()
public abstract boolean isProxyRequired()
public void setAttributes(BeanAttributes<T> attributes)
public void destroy(T instance, CreationalContext<T> creationalContext)
CreationalContext.release()to allow the container to destroy dependent objects of the contextual instance.
Copyright © 2015. All Rights Reserved.