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.
AnnotatedMethodrepresenting the observer method
ObserverMethodobject that will be used by the container to invoke the observer when a matching event is fired.
ObserverMethodobject that will be used by the container to call the observer method
Copyright © 1996-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.