public class BoundDecorator extends IOCDecoratorExtension<Bound>
InitializationCallback
that contains automatic binding logic.Constructor and Description |
---|
BoundDecorator(Class<Bound> decoratesWith) |
Modifier and Type | Method and Description |
---|---|
List<? extends Statement> |
generateDecorator(InjectableInstance<Bound> ctx)
The generateDecorator() method is called at the point the container has finished constructing a
reference to an element annotated with the configured annotation.
|
decoratesWith
public List<? extends Statement> generateDecorator(InjectableInstance<Bound> ctx)
IOCDecoratorExtension
generateDecorator
in class IOCDecoratorExtension<Bound>
ctx
- the InjectableInstance
reference, representing
the value of the element which is annotated.Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.