Class SyntheticDecorator<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.Decorator<T>, WeldBean<T>

    public class SyntheticDecorator<T>
    extends SyntheticClassBean<T>
    implements jakarta.enterprise.inject.spi.Decorator<T>
    Represents a Decorator created based on extension-provided InjectionTarget implementation.
    Author:
    Jozef Hartinger
    • Constructor Detail

      • SyntheticDecorator

        public SyntheticDecorator​(jakarta.enterprise.inject.spi.BeanAttributes<T> attributes,
                                  Class<T> beanClass,
                                  jakarta.enterprise.inject.spi.InjectionTargetFactory<T> factory,
                                  BeanManagerImpl manager)
    • Method Detail

      • identifyDelegateInjectionPoint

        protected jakarta.enterprise.inject.spi.InjectionPoint identifyDelegateInjectionPoint​(Set<jakarta.enterprise.inject.spi.InjectionPoint> injectionPoints)
      • getDecoratedTypes

        protected Set<Type> getDecoratedTypes​(Set<Type> types)
      • 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>
      • getDecoratedTypes

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