public abstract class RIBean<T> extends CommonBean<T> implements javax.enterprise.inject.spi.PassivationCapable
Modifier and Type | Field and Description |
---|---|
protected BeanManagerImpl |
beanManager |
Modifier | Constructor and Description |
---|---|
protected |
RIBean(javax.enterprise.inject.spi.BeanAttributes<T> attributes,
org.jboss.weld.serialization.spi.BeanIdentifier identifier,
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() |
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() |
boolean |
isNormalScoped() |
abstract boolean |
isPassivationCapableBean() |
abstract boolean |
isPassivationCapableDependency() |
abstract boolean |
isProxyable() |
abstract boolean |
isProxyRequired() |
abstract void |
preInitialize() |
attributes, equals, getId, getIdentifier, hashCode, isNullable, setAttributes, toString, unwrap
getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternative
protected final BeanManagerImpl beanManager
protected RIBean(javax.enterprise.inject.spi.BeanAttributes<T> attributes, org.jboss.weld.serialization.spi.BeanIdentifier identifier, BeanManagerImpl beanManager)
public BeanManagerImpl getBeanManager()
public Class<?> getBeanClass()
getBeanClass
in interface javax.enterprise.inject.spi.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 boolean isNormalScoped()
public abstract boolean isProxyable()
public abstract boolean isPassivationCapableBean()
public abstract boolean isPassivationCapableDependency()
public abstract boolean isProxyRequired()
public Set<QualifierInstance> getQualifierInstances()
Copyright © 2016. All rights reserved.