public interface WmListenerNotification
AsyncNotificationResults
,
SyncNotificationResults
Modifier and Type | Method and Description |
---|---|
boolean |
enabled()
Returns whether this notification is enabled.
|
NotificationResults |
execute(NotificationEvent event)
Processes the data received from the listener.
|
java.lang.String |
nodeName()
Returns the fully qualified node name of this notification.
|
java.lang.String |
queryPackage()
Returns the package for this notification.
|
NotificationResults |
runNotification(NotificationEvent event)
Adapter writers override this method to process the data retrieved by the listener.
|
boolean |
supports(java.lang.Object data)
Called by the listener on registered notifications to determine if the notification can process the
data.
|
boolean enabled()
NotificationResults execute(NotificationEvent event) throws javax.resource.ResourceException
javax.resource.ResourceException
java.lang.String nodeName()
java.lang.String queryPackage()
NotificationResults runNotification(NotificationEvent event) throws javax.resource.ResourceException
event
- a NotificationEvent object that contains the data received by the listener.javax.resource.ResourceException
- an instance of AdapterException for a non-recoverable error
or AdapterConnectionException for a recoverable connection-based errorboolean supports(java.lang.Object data) throws javax.resource.ResourceException
data
- a resource-specific Object that is returned from the listener's waitForData() method.javax.resource.ResourceException
WmNotificationListener
Copyright © 2003 - 2021 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.