T- The type of the event being observed
X- The bean type containing the observer method
public interface ProcessObserverMethod<T,X>
If any observer method of a
ProcessObserverMethod event throws an exception, the exception is treated as a definition error by the container.
|Modifier and Type||Method and Description|
Registers a definition error with the container, causing the container to abort deployment after bean discovery is complete.
AnnotatedMethodrepresenting the observer method.
ObserverMethodobject that will be used by the container to invoke the observer when a matching event is fired.
void addDefinitionError(Throwable t)
Copyright © 2015. All Rights Reserved.