public class NotificationEventCallback extends Object implements ComponentEventCallback
ComponentEventCallback
used for notification events. Event handler methods may return
true (to abort the event) or false (to allow the event to continue bubbling up), but all other values are forbidden.Constructor and Description |
---|
NotificationEventCallback(String eventType,
String completeId) |
Modifier and Type | Method and Description |
---|---|
boolean |
handleResult(Object result)
Invoked to handle a non-null event handler method result.
|
public NotificationEventCallback(String eventType, String completeId)
public boolean handleResult(Object result)
ComponentEventCallback
Event.isAborted()
will return true.handleResult
in interface ComponentEventCallback
result
- the result value returned from the event handler method${project.version} - Copyright © 2003-2015 The Apache Software Foundation.