Package org.jboss.weld.bean.builtin
Class AbstractStaticallyDecorableBuiltInBean<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>
-
- org.jboss.weld.bean.builtin.AbstractDecorableBuiltInBean<T>
-
- org.jboss.weld.bean.builtin.AbstractStaticallyDecorableBuiltInBean<T>
-
- Type Parameters:
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
,DecorableBean<T>
,WeldBean<T>
- Direct Known Subclasses:
AbstractEEBean
,ConversationBean
,EventMetadataBean
,InjectionPointBean
,InterceptionFactoryBean
,RequestContextControllerBean
public abstract class AbstractStaticallyDecorableBuiltInBean<T> extends AbstractDecorableBuiltInBean<T>
A decorated built-in bean for which, unlikeAbstractFacadeBean
, decorators only need to be resolved once.- Author:
- Jozef Hartinger
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jboss.weld.bean.builtin.AbstractBuiltInBean
AbstractBuiltInBean.BuiltInBeanAttributes<T>
-
-
Field Summary
-
Fields inherited from class org.jboss.weld.bean.RIBean
beanManager
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractStaticallyDecorableBuiltInBean(BeanManagerImpl beanManager, Class<T> type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<jakarta.enterprise.inject.spi.Decorator<?>>
getDecorators(jakarta.enterprise.inject.spi.InjectionPoint ip)
protected Class<T>
getProxyClass()
void
initializeAfterBeanDiscovery()
In particular cases, the deployer must perform some initialization operations only after all beans have been deployed (e.g.-
Methods inherited from class org.jboss.weld.bean.builtin.AbstractDecorableBuiltInBean
create, getBeanClass, getDecorators, getInjectionPoint, newInstance
-
Methods inherited from class org.jboss.weld.bean.builtin.AbstractBuiltInBean
cleanupAfterBoot, getInjectionPoints, getType, internalInitialize, isDependentContextOptimizationAllowed, isPassivationCapableBean, isPassivationCapableDependency, isProxyable, isProxyRequired, preInitialize
-
Methods inherited from class org.jboss.weld.bean.RIBean
destroy, getBeanManager, getContextualInstanceStrategy, getQualifierInstances, initialize, isDependent, isNormalScoped, setAttributes
-
Methods inherited from class org.jboss.weld.bean.CommonBean
attributes, equals, getId, getIdentifier, hashCode, isNullable, toString, unwrap
-
Methods inherited from class org.jboss.weld.util.bean.ForwardingBeanAttributes
getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternative
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface jakarta.enterprise.inject.spi.BeanAttributes
getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternative
-
Methods inherited from interface org.jboss.weld.bean.WeldBean
getPriority
-
-
-
-
Constructor Detail
-
AbstractStaticallyDecorableBuiltInBean
protected AbstractStaticallyDecorableBuiltInBean(BeanManagerImpl beanManager, Class<T> type)
-
-
Method Detail
-
getDecorators
protected List<jakarta.enterprise.inject.spi.Decorator<?>> getDecorators(jakarta.enterprise.inject.spi.InjectionPoint ip)
- Specified by:
getDecorators
in classAbstractDecorableBuiltInBean<T>
-
getProxyClass
protected Class<T> getProxyClass()
- Specified by:
getProxyClass
in classAbstractDecorableBuiltInBean<T>
-
initializeAfterBeanDiscovery
public void initializeAfterBeanDiscovery()
Description copied from class:RIBean
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)- Overrides:
initializeAfterBeanDiscovery
in classAbstractBuiltInBean<T>
-
-