public class SyncDecorator extends IOCDecoratorExtension<Sync>
InitializationCallback
that contains data sync logic.Constructor and Description |
---|
SyncDecorator(Class<Sync> decoratesWith) |
Modifier and Type | Method and Description |
---|---|
List<? extends Statement> |
generateDecorator(InjectableInstance<Sync> 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<Sync> ctx)
IOCDecoratorExtension
generateDecorator
in class IOCDecoratorExtension<Sync>
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.