com.genesyslab.soa.event
Class Notification
java.lang.Object
com.genesyslab.soa.event.Notification
- All Implemented Interfaces:
- java.io.Serializable
- public class Notification
- extends java.lang.Object
- implements java.io.Serializable
This class describes the notification in push mode.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Notification
public Notification()
getNotificationEndpoint
public java.lang.Object getNotificationEndpoint()
- The notification endpoint regarding the notification type.
- Returns:
- The notificationEndpoint.
setNotificationEndpoint
public void setNotificationEndpoint(java.lang.Object notificationEndpoint)
setNotificationType
public void setNotificationType(java.lang.String notificationType)
getNotificationType
public java.lang.String getNotificationType()
- The notification type.
The differents kind of notification are:
- JAVA: for java RMI notification. The method called is notifyEvents(String subscriberId, Event[] events) of NotifyService.
- SOAP_HTTP: for SOAP over HTTP notification. The method called is notifyEvents(String subscriberId, Event[] events).
- SOAP_HTTP_WRAPPED: for SOAP over HTTP notification with events wrapped into a String. The method called is notifyWrappedEvents(String subscriberId, String events). In this case, the events parameter contains the XML flow of the events.
- Returns:
- The notificationType.