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

    Modifier and Type
    Method
    Description
    Returns the decorated method that can decorate a particular method, if one exists
     

    Methods inherited from interface jakarta.enterprise.inject.spi.Bean

    getBeanClass, getInjectionPoints

    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 Details

    • getEnhancedAnnotated

      EnhancedAnnotatedType<?> getEnhancedAnnotated()
    • 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: