Class DecoratorBeanBuilder<T>

    • Field Detail

      • annotatedType

        protected final jakarta.enterprise.inject.spi.AnnotatedType<T> annotatedType
      • beanAttributes

        protected final jakarta.enterprise.inject.spi.BeanAttributes<T> beanAttributes
    • Constructor Detail

      • DecoratorBeanBuilder

        public DecoratorBeanBuilder​(WebBeansContext webBeansContext,
                                    jakarta.enterprise.inject.spi.AnnotatedType<T> annotatedType,
                                    jakarta.enterprise.inject.spi.BeanAttributes<T> beanAttributes)
    • Method Detail

      • isDecoratorEnabled

        public boolean isDecoratorEnabled()
        If this method returns false the getBean() method must not get called.
        Returns:
        true if the Decorator is enabled and a Bean should get created
      • checkDecoratorConditions

        protected void checkDecoratorConditions()
      • defineDecoratorRules

        public void defineDecoratorRules()
      • getPostConstructMethods

        protected List<jakarta.enterprise.inject.spi.AnnotatedMethod<?>> getPostConstructMethods()
      • getPreDestroyMethods

        protected List<jakarta.enterprise.inject.spi.AnnotatedMethod<?>> getPreDestroyMethods()