com.genesyslab.soa.event
Class Notification

java.lang.Object
  extended bycom.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

Constructor Summary
Notification()
           
 
Method Summary
 java.lang.Object getNotificationEndpoint()
          The notification endpoint regarding the notification type.
 java.lang.String getNotificationType()
          The notification type.
 void setNotificationEndpoint(java.lang.Object notificationEndpoint)
           
 void setNotificationType(java.lang.String notificationType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Notification

public Notification()
Method Detail

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.