Top Description Methods
javax.enterprise.inject.spi

public Interface Decorator<T>

extends Bean<T>
Type Parameters
<T>
the decorator bean class
Imports
java.lang.annotation.Annotation, java.lang.reflect.Type, java.util.Set

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.

Authors
Gavin King, Pete Muir

Method Summary

Modifier and TypeMethod and Description
public Set<Type>

Returns:

the set of decorated types
getDecoratedTypes
()

Obtains the decorated types.

public Set<Annotation>

Returns:

the delegate qualifiers
getDelegateQualifiers
()

Obtains the qualifiers of the delegate injection point.

public Type

Returns:

the delegate type
getDelegateType
()

Obtains the type of the delegate injection point.

Inherited from javax.enterprise.inject.spi.Bean:
getBeanClassgetInjectionPointsisNullable

Method Detail

getDecoratedTypesback to summary
public Set<Type> getDecoratedTypes()

Obtains the decorated types.

Returns:Set<Type>

the set of decorated types

getDelegateQualifiersback to summary
public Set<Annotation> getDelegateQualifiers()

Obtains the qualifiers of the delegate injection point.

Returns:Set<Annotation>

the delegate qualifiers

getDelegateTypeback to summary
public Type getDelegateType()

Obtains the type of the delegate injection point.

Returns:Type

the delegate type