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