T
- the decorator bean classpublic interface Decorator<T> extends Bean<T>
Represents an enabled decorator.
Since CDI 2.0, an implementation of this interface may implement Prioritized
in order to enable the decorator with
given priority value for entire application.
CDI Lite implementations are not required to provide support for decorators.
Modifier and Type | Method and Description |
---|---|
java.util.Set<java.lang.reflect.Type> |
getDecoratedTypes()
Obtains the decorated types.
|
java.util.Set<java.lang.annotation.Annotation> |
getDelegateQualifiers()
Obtains the qualifiers of the delegate injection
point.
|
java.lang.reflect.Type |
getDelegateType()
Obtains the type of the delegate injection point.
|
getBeanClass, getInjectionPoints
create, destroy
getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternative
java.lang.reflect.Type getDelegateType()
Obtains the type of the delegate injection point.
java.util.Set<java.lang.annotation.Annotation> getDelegateQualifiers()
Obtains the qualifiers of the delegate injection point.
java.util.Set<java.lang.reflect.Type> getDecoratedTypes()
Obtains the decorated types.