javax.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.

  Author:
    Gavin King, Pete Muir

- - ### Method Summary

    Methods
    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.

    - ### Methods inherited from interface javax.enterprise.inject.spi.Bean

      `getBeanClass, getInjectionPoints, isNullable`

    - ### Methods inherited from interface javax.enterprise.context.spi.Contextual

      `create, destroy`

    - ### Methods inherited from interface javax.enterprise.inject.spi.BeanAttributes

      `getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternative`

- - ### Method Detail

    - #### getDelegateType

          Type getDelegateType()

      Obtains the type of the delegate injection point.

      Returns:
        the delegate type

    - #### getDelegateQualifiers

          Set<Annotation> getDelegateQualifiers()

      Obtains the qualifiers of the delegate injection point.

      Returns:
        the delegate qualifiers

    - #### getDecoratedTypes

          Set<Type> getDecoratedTypes()

      Obtains the decorated types.

      Returns:
        the set of decorated types

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.