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
|
void |
destroy(T instance,
javax.enterprise.context.spi.CreationalContext<T> creationalContext) |
Class<?> |
getBeanClass() |
BeanManagerImpl |
getBeanManager() |
ContextualInstanceStrategy<T> |
getContextualInstanceStrategy() |
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. for initializing decorators
taking into account the possibility of having custom decorators which are
deployed through portable extensions)
|
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() |
void |
setAttributes(javax.enterprise.inject.spi.BeanAttributes<T> attributes) |
attributes, equals, getId, getIdentifier, hashCode, isNullable, toString, unwrapgetName, getQualifiers, getScope, getStereotypes, getTypes, isAlternativeprotected 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()
public ContextualInstanceStrategy<T> getContextualInstanceStrategy()
public void setAttributes(javax.enterprise.inject.spi.BeanAttributes<T> attributes)
setAttributes in class CommonBean<T>Copyright © 2017. All rights reserved.