com.caucho.config.inject
Class DecoratorEntry<X>

java.lang.Object
  extended by com.caucho.config.inject.DecoratorEntry<X>

@Module
public class DecoratorEntry<X>
extends java.lang.Object

Represents an introspected Decorator


Constructor Summary
DecoratorEntry(InjectManager manager, Decorator<X> decorator, BaseType delegateType)
           
 
Method Summary
 java.util.Set<BaseType> getDecoratedTypes()
           
 Decorator<X> getDecorator()
           
 BaseType getDelegateType()
           
 boolean isEnabled()
           
 boolean isMatch(java.lang.annotation.Annotation[] bindingAnn)
           
 boolean isMatch(QualifierBinding binding, java.lang.annotation.Annotation[] bindingAnn)
           
 void setEnabled(boolean isEnabled)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DecoratorEntry

public DecoratorEntry(InjectManager manager,
                      Decorator<X> decorator,
                      BaseType delegateType)
Method Detail

getDecorator

public Decorator<X> getDecorator()

getDelegateType

public BaseType getDelegateType()

getDecoratedTypes

public java.util.Set<BaseType> getDecoratedTypes()

isEnabled

public boolean isEnabled()

setEnabled

public void setEnabled(boolean isEnabled)

isMatch

public boolean isMatch(java.lang.annotation.Annotation[] bindingAnn)

isMatch

public boolean isMatch(QualifierBinding binding,
                       java.lang.annotation.Annotation[] bindingAnn)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object