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

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

public interface Decorator<T>
extends Bean<T>

The bean object for a decorator

Author:
Pete Muir

Method Summary
 java.util.Set<java.lang.reflect.Type> getDecoratedTypes()
          Obtains the decorated types
 java.util.Set<java.lang.annotation.Annotation> getDelegateBindings()
          Obtains the delegate bindings
 java.lang.reflect.Type getDelegateType()
          Obtains the delegate type
 
Methods inherited from interface javax.enterprise.inject.spi.Bean
getBindings, getDeploymentType, getInjectionPoints, getName, getScopeType, getTypes, isNullable, isSerializable
 
Methods inherited from interface javax.enterprise.context.spi.Contextual
create, destroy
 

Method Detail

getDelegateType

java.lang.reflect.Type getDelegateType()
Obtains the delegate type

Returns:

getDelegateBindings

java.util.Set<java.lang.annotation.Annotation> getDelegateBindings()
Obtains the delegate bindings

Returns:

getDecoratedTypes

java.util.Set<java.lang.reflect.Type> getDecoratedTypes()
Obtains the decorated types

Returns:


Copyright © 2008-2009. All Rights Reserved.