public abstract class RIBean<T> extends CommonBean<T> implements PassivationCapable
Modifier and Type | Field and Description |
---|---|
protected BeanManagerImpl |
beanManager |
BEAN_ID_PREFIX, BEAN_ID_SEPARATOR
Modifier | Constructor and Description |
---|---|
protected |
RIBean(BeanAttributes<T> attributes,
String idSuffix,
BeanManagerImpl beanManager) |
Modifier and Type | Method and Description |
---|---|
abstract void |
cleanupAfterBoot()
This method is called after the container is started allowing the bean to
release any resources that are only required at boot time
|
Class<?> |
getBeanClass()
The bean class of the managed bean or session bean or of the bean that declares the producer method or
field.
|
BeanManagerImpl |
getBeanManager() |
Set<QualifierInstance> |
getQualifierInstances() |
abstract Class<T> |
getType() |
void |
initialize(BeanDeployerEnvironment environment)
Initializes the bean and its metadata.
|
abstract void |
initializeAfterBeanDiscovery()
In particular cases, the deployer must perform some initialization operations
only after all beans have been deployed (e.g.
|
protected abstract void |
internalInitialize(BeanDeployerEnvironment environment) |
boolean |
isDependent() |
abstract boolean |
isPassivationCapableBean() |
abstract boolean |
isPassivationCapableDependency() |
abstract boolean |
isProxyable() |
abstract boolean |
isProxyRequired() |
abstract void |
preInitialize() |
attributes, equals, getId, hashCode, isNullable, setAttributes, toString, unwrap
getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternative
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getId
getInjectionPoints
create, destroy
getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternative
protected final BeanManagerImpl beanManager
protected RIBean(BeanAttributes<T> attributes, String idSuffix, BeanManagerImpl beanManager)
public BeanManagerImpl getBeanManager()
public Class<?> getBeanClass()
Bean
getBeanClass
in interface Bean<T>
public abstract void preInitialize()
public final void initialize(BeanDeployerEnvironment environment)
protected abstract void internalInitialize(BeanDeployerEnvironment environment)
public abstract void cleanupAfterBoot()
public abstract void initializeAfterBeanDiscovery()
environment
- public boolean isDependent()
public abstract boolean isProxyable()
public abstract boolean isPassivationCapableBean()
public abstract boolean isPassivationCapableDependency()
public abstract boolean isProxyRequired()
public Set<QualifierInstance> getQualifierInstances()
Copyright © 2013 Seam Framework. All Rights Reserved.