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)
ComponentEventCallbackEvent.isAborted() will return true.handleResult in interface ComponentEventCallbackresult - the result value returned from the event handler method5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.