Spec-Zone .ru
спецификации, руководства, описания, API


javax.enterprise.inject.spi
Interface Decorator<T>

Type Parameters:
T - the decorator bean class
All Superinterfaces:
Bean<T>, Contextual<T>

public interface Decorator<T>
extends Bean<T>

Represents an enabled decorator.

Author:
Gavin King, Pete Muir

Method Summary
 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.
 
Methods inherited from interface javax.enterprise.inject.spi.Bean
getBeanClass, getInjectionPoints, getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternative, isNullable
 
Methods inherited from interface javax.enterprise.context.spi.Contextual
create, destroy
 

Method Detail

getDelegateType

java.lang.reflect.Type getDelegateType()

Obtains the type of the delegate injection point.

Returns:
the delegate type

getDelegateQualifiers

java.util.Set<java.lang.annotation.Annotation> getDelegateQualifiers()

Obtains the qualifiers of the delegate injection point.

Returns:
the delegate qualifiers

getDecoratedTypes

java.util.Set<java.lang.reflect.Type> getDecoratedTypes()

Obtains the decorated types.

Returns:
the set of decorated types


Submit a bug or feature

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

Generated on 10-February-2011 12:41

free hit counter