public static interface ObserverTransformer.TransformationContext extends BuildExtension.BuildContext
| Modifier and Type | Method and Description |
|---|---|
Collection<org.jboss.jandex.AnnotationInstance> |
getAllAnnotations()
Retrieves all annotations declared on the observer method.
|
org.jboss.jandex.MethodInfo |
getMethod() |
org.jboss.jandex.Type |
getObservedType() |
Set<org.jboss.jandex.AnnotationInstance> |
getQualifiers() |
javax.enterprise.event.Reception |
getReception() |
javax.enterprise.event.TransactionPhase |
getTransactionPhase() |
boolean |
isAsync() |
ObserverTransformer.ObserverTransformation |
transform()
The transformation is not applied until the
AnnotationsTransformation.done() method is invoked. |
void |
veto()
Instruct the container to ignore the observer method.
|
get, putorg.jboss.jandex.MethodInfo getMethod()
org.jboss.jandex.Type getObservedType()
Set<org.jboss.jandex.AnnotationInstance> getQualifiers()
javax.enterprise.event.Reception getReception()
javax.enterprise.event.TransactionPhase getTransactionPhase()
boolean isAsync()
Collection<org.jboss.jandex.AnnotationInstance> getAllAnnotations()
getMethod() which may, in some corner cases, hold outdated information.
The resulting set of annotations contains contains annotations that belong to the method itself as well as to its parameters.
void veto()
ObserverTransformer.ObserverTransformation transform()
AnnotationsTransformation.done() method is invoked.Copyright © 2021 JBoss by Red Hat. All rights reserved.