Class CdiDecorator<T>

java.lang.Object
org.wildfly.security.soteria.original.CdiProducer<T>
org.wildfly.security.soteria.original.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 Details

    • CdiDecorator

      public CdiDecorator()
  • Method Details

    • 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>
    • decorator

      public CdiDecorator<T> decorator(Class<T> decorator)
    • 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)