public interface DecoratorSetContext<Type,Decorator>
DecoratorPicker.| Modifier and Type | Method and Description |
|---|---|
Set<Class<? extends Decorator>> |
getDecoratorClasses() |
Set<Class<? extends Type>> |
getSupportedInterfaces() |
void |
init(Decorator decorator,
Type object)
Initializes the decorator to decorate given object.
|
Decorator |
instantiate(Class<? extends Decorator> decoratorClass)
Instantiates a new decorator of given class.
|
Set<Class<? extends Type>> getSupportedInterfaces()
Set<Class<? extends Decorator>> getDecoratorClasses()
Decorator instantiate(Class<? extends Decorator> decoratorClass) throws Exception
decoratorClass - ExceptionCopyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.