T - The type of the event being observedX - The bean type containing the observer methodpublic interface ExperimentalProcessObserverMethod<T,X> extends ProcessObserverMethod<T,X>
ProcessObserverMethod.| Modifier and Type | Method and Description |
|---|---|
void |
setObserverMethod(ObserverMethod<T> observerMethod)
Replaces the observer method.
|
void |
veto()
Forces the container to ignore the observer method.
|
addDefinitionError, getAnnotatedMethod, getObserverMethodvoid setObserverMethod(ObserverMethod<T> observerMethod)
observerMethod - target observer method.void veto()
Copyright © 2015. All Rights Reserved.