Package jakarta.enterprise.inject.spi
Interface Decorator<T>
- 
- Type Parameters:
- T- the decorator bean class
 - All Superinterfaces:
- Bean<T>,- BeanAttributes<T>,- Contextual<T>
 
 public interface Decorator<T> extends Bean<T> Represents an enabled decorator. Since CDI 2.0, an implementation of this interface may implement Prioritizedin order to enable the decorator with given priority value for entire application.CDI Lite implementations are not required to provide support for decorators. - Author:
- Gavin King, Pete Muir
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<Type>getDecoratedTypes()Obtains the decorated types.Set<Annotation>getDelegateQualifiers()Obtains the qualifiers of the delegate injection point.TypegetDelegateType()Obtains the type of the delegate injection point.- 
Methods inherited from interface jakarta.enterprise.inject.spi.BeangetBeanClass, getInjectionPoints
 - 
Methods inherited from interface jakarta.enterprise.inject.spi.BeanAttributesgetName, getQualifiers, getScope, getStereotypes, getTypes, isAlternative
 - 
Methods inherited from interface jakarta.enterprise.context.spi.Contextualcreate, destroy
 
- 
 
- 
- 
- 
Method Detail- 
getDelegateTypeType getDelegateType() Obtains the type of the delegate injection point. - Returns:
- the delegate type
 
 - 
getDelegateQualifiersSet<Annotation> getDelegateQualifiers() Obtains the qualifiers of the delegate injection point. - Returns:
- the delegate qualifiers
 
 - 
getDecoratedTypesSet<Type> getDecoratedTypes() Obtains the decorated types. - Returns:
- the set of decorated types
 
 
- 
 
-