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.
Modifier and Type | Method and Description |
---|---|
Set<Type> |
getDecoratedTypes()
Obtains the decorated types.
|
Set<Annotation> |
getDelegateQualifiers()
Obtains the qualifiers of the delegate injection
point.
|
Type |
getDelegateType()
Obtains the type of the delegate injection point.
|
getBeanClass, getInjectionPoints, isNullable
create, destroy
getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternative
Type getDelegateType()
Obtains the type of the delegate injection point.
Set<Annotation> getDelegateQualifiers()
Obtains the qualifiers of the delegate injection point.
Set<Type> getDecoratedTypes()
Obtains the decorated types.
Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.