EVENTTYPE - observed event typeBEANCLASS - bean classpublic interface ProcessObserverMethod<EVENTTYPE,BEANCLASS>
| Modifier and Type | Method and Description |
|---|---|
void |
addDefinitionError(Throwable t)
Add throwable.
|
ObserverMethodConfigurator<EVENTTYPE> |
configureObserverMethod()
Creates a configurator for this observer method.
|
AnnotatedMethod<BEANCLASS> |
getAnnotatedMethod()
Returns annotated method.
|
ObserverMethod<EVENTTYPE> |
getObserverMethod()
Returns observer method instance that
is called by the container on event.
|
void |
setObserverMethod(ObserverMethod<EVENTTYPE> observerMethod) |
void |
veto()
Tell the container to ignore the current ObserverMethod.
|
AnnotatedMethod<BEANCLASS> getAnnotatedMethod()
ObserverMethod<EVENTTYPE> getObserverMethod()
void setObserverMethod(ObserverMethod<EVENTTYPE> observerMethod)
observerMethod - to replace the original onevoid veto()
void addDefinitionError(Throwable t)
t - throwableObserverMethodConfigurator<EVENTTYPE> configureObserverMethod()
ObserverMethodConfigurator to tweak the processed ObservermethodCopyright © 2025. All rights reserved.