Class DecoratorBean<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.Decorator<T>, jakarta.enterprise.inject.spi.PassivationCapable, Serializable, OwbBean<T>

    public class DecoratorBean<T>
    extends InjectionTargetBean<T>
    implements jakarta.enterprise.inject.spi.Decorator<T>
    Decorator Bean implementation.
    See Also:
    Serialized Form
    • Constructor Detail

      • DecoratorBean

        public DecoratorBean​(WebBeansContext webBeansContext,
                             WebBeansType webBeansType,
                             jakarta.enterprise.inject.spi.AnnotatedType<T> annotatedType,
                             jakarta.enterprise.inject.spi.BeanAttributes<T> beanAttributes,
                             Class<T> beanClass)
    • Method Detail

      • setDecoratorInfo

        public void setDecoratorInfo​(Set<Type> decoratedTypes,
                                     Type delegateType,
                                     Set<Annotation> delegateQualifiers)
      • getDecoratedTypes

        public Set<Type> getDecoratedTypes()
        Specified by:
        getDecoratedTypes in interface jakarta.enterprise.inject.spi.Decorator<T>
      • getDelegateType

        public Type getDelegateType()
        Specified by:
        getDelegateType in interface jakarta.enterprise.inject.spi.Decorator<T>
      • getDelegateQualifiers

        public Set<Annotation> getDelegateQualifiers()
        Specified by:
        getDelegateQualifiers in interface jakarta.enterprise.inject.spi.Decorator<T>