Package org.jboss.weld.bean.builtin
Class AbstractBuiltInBean<T>
java.lang.Object
org.jboss.weld.util.bean.ForwardingBeanAttributes<T>
org.jboss.weld.bean.CommonBean<T>
org.jboss.weld.bean.RIBean<T>
org.jboss.weld.bean.builtin.AbstractBuiltInBean<T>
- All Implemented Interfaces:
jakarta.enterprise.context.spi.Contextual<T>,jakarta.enterprise.inject.spi.Bean<T>,jakarta.enterprise.inject.spi.BeanAttributes<T>,jakarta.enterprise.inject.spi.PassivationCapable,WeldBean<T>
- Direct Known Subclasses:
AbstractBuiltInMetadataBean,AbstractDecorableBuiltInBean,BeanManagerBean,BeanManagerImplBean,ContextBean,ExtensionBean
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static class -
Field Summary
Fields inherited from class org.jboss.weld.bean.RIBean
beanManager -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractBuiltInBean(org.jboss.weld.serialization.spi.BeanIdentifier identifier, BeanManagerImpl beanManager, Class<T> type) -
Method Summary
Modifier and TypeMethodDescriptionvoidThis method is called after the container is started allowing the bean to release any resources that are only required at boot timeSet<jakarta.enterprise.inject.spi.InjectionPoint>getType()voidIn 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)voidinternalInitialize(BeanDeployerEnvironment environment) booleanbooleanbooleanbooleanbooleanvoidMethods inherited from class org.jboss.weld.bean.RIBean
destroy, getBeanClass, getBeanManager, getContextualInstanceStrategy, getQualifierInstances, initialize, isDependent, isNormalScoped, setAttributesMethods inherited from class org.jboss.weld.bean.CommonBean
attributes, equals, getId, getIdentifier, hashCode, toString, unwrapMethods inherited from class org.jboss.weld.util.bean.ForwardingBeanAttributes
getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternativeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface jakarta.enterprise.inject.spi.BeanAttributes
getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternativeMethods inherited from interface jakarta.enterprise.context.spi.Contextual
createMethods inherited from interface jakarta.enterprise.inject.spi.PassivationCapable
getIdMethods inherited from interface org.jboss.weld.bean.WeldBean
getPriority
-
Constructor Details
-
AbstractBuiltInBean
protected AbstractBuiltInBean(org.jboss.weld.serialization.spi.BeanIdentifier identifier, BeanManagerImpl beanManager, Class<T> type)
-
-
Method Details
-
preInitialize
public void preInitialize()- Specified by:
preInitializein classRIBean<T>
-
internalInitialize
- Specified by:
internalInitializein classRIBean<T>
-
cleanupAfterBoot
public void cleanupAfterBoot()Description copied from class:RIBeanThis method is called after the container is started allowing the bean to release any resources that are only required at boot time- Specified by:
cleanupAfterBootin classRIBean<T>
-
initializeAfterBeanDiscovery
public void initializeAfterBeanDiscovery()Description copied from class:RIBeanIn 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)- Specified by:
initializeAfterBeanDiscoveryin classRIBean<T>
-
getInjectionPoints
-
isProxyable
public boolean isProxyable()- Specified by:
isProxyablein classRIBean<T>
-
isPassivationCapableBean
public boolean isPassivationCapableBean()- Specified by:
isPassivationCapableBeanin classRIBean<T>
-
isPassivationCapableDependency
public boolean isPassivationCapableDependency()- Specified by:
isPassivationCapableDependencyin classRIBean<T>
-
isProxyRequired
public boolean isProxyRequired()- Specified by:
isProxyRequiredin classRIBean<T>
-
getType
-
isDependentContextOptimizationAllowed
public boolean isDependentContextOptimizationAllowed()
-