public class ServiceCodeDecorator extends IOCDecoratorExtension<Service>
Constructor and Description |
---|
ServiceCodeDecorator(Class<Service> decoratesWith) |
Modifier and Type | Method and Description |
---|---|
List<? extends Statement> |
generateDecorator(InjectableInstance<Service> injectableInstance)
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<Service> injectableInstance)
IOCDecoratorExtension
generateDecorator
in class IOCDecoratorExtension<Service>
injectableInstance
- the InjectableInstance
reference, representing
the value of the element which is annotated.Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.