Class CdiDecorator<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

    public class CdiDecorator<T>
    extends CdiProducer<T>
    implements jakarta.enterprise.inject.spi.Decorator<T>
    • Constructor Detail

      • CdiDecorator

        public CdiDecorator()
    • Method Detail

      • create

        public T create​(jakarta.enterprise.context.spi.CreationalContext<T> creationalContext)
        Specified by:
        create in interface jakarta.enterprise.context.spi.Contextual<T>
        Overrides:
        create in class CdiProducer<T>
      • getInjectionPoints

        public Set<jakarta.enterprise.inject.spi.InjectionPoint> getInjectionPoints()
        Specified by:
        getInjectionPoints in interface jakarta.enterprise.inject.spi.Bean<T>
        Overrides:
        getInjectionPoints in class CdiProducer<T>
      • getDelegateType

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

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

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

        public CdiDecorator<T> delegateAndDecoratedType​(Type type)
      • create

        public CdiProducer<T> create​(jakarta.enterprise.inject.spi.BeanManager beanManager,
                                     BiFunction<jakarta.enterprise.context.spi.CreationalContext<T>,​Object,​T> create)