Class 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, unlike AbstractFacadeBean, decorators only need to be resolved once.
Author:
Jozef Hartinger
  • Constructor Details

    • AbstractStaticallyDecorableBuiltInBean

      protected AbstractStaticallyDecorableBuiltInBean(BeanManagerImpl beanManager, Class<T> type)
  • Method Details

    • getDecorators

      protected List<jakarta.enterprise.inject.spi.Decorator<?>> getDecorators(jakarta.enterprise.inject.spi.InjectionPoint ip)
      Specified by:
      getDecorators in class AbstractDecorableBuiltInBean<T>
    • getProxyClass

      protected Class<T> getProxyClass()
      Specified by:
      getProxyClass in class AbstractDecorableBuiltInBean<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 class AbstractBuiltInBean<T>