Interface WeldDecorator<T>

  • All Superinterfaces:
    jakarta.enterprise.inject.spi.Bean<T>, jakarta.enterprise.inject.spi.BeanAttributes<T>, jakarta.enterprise.context.spi.Contextual<T>, jakarta.enterprise.inject.spi.Decorator<T>
    All Known Implementing Classes:
    CustomDecoratorWrapper, DecoratorImpl

    public interface WeldDecorator<T>
    extends jakarta.enterprise.inject.spi.Decorator<T>
    Sub-interface of Decorator that contains metadata information about Weld-deployed Decorators (including custom decorators).
    Author:
    Marius Bogoevici
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      InvokableAnnotatedMethod<?> getDecoratorMethod​(Method method)
      Returns the decorated method that can decorate a particular method, if one exists
      EnhancedAnnotatedType<?> getEnhancedAnnotated()  
      • Methods inherited from interface jakarta.enterprise.inject.spi.Bean

        getBeanClass, getInjectionPoints, isNullable
      • Methods inherited from interface jakarta.enterprise.inject.spi.BeanAttributes

        getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternative
      • Methods inherited from interface jakarta.enterprise.context.spi.Contextual

        create, destroy
      • Methods inherited from interface jakarta.enterprise.inject.spi.Decorator

        getDecoratedTypes, getDelegateQualifiers, getDelegateType
    • Method Detail

      • getDecoratorMethod

        InvokableAnnotatedMethod<?> getDecoratorMethod​(Method method)
        Returns the decorated method that can decorate a particular method, if one exists

        Such a method must be implement one of the decorated type methods, and can be parametrized

        Parameters:
        method -
        Returns: