com.ibm.commerce.messaging.notification.datatypes
Class NotificationFactory

java.lang.Object
  |
  +--com.ibm.commerce.messaging.notification.datatypes.NotificationFactory

public class NotificationFactory
extends java.lang.Object

Factory used to create objects implementing the Notification interface.


Field Summary
static java.lang.String COPYRIGHT
          IBM Copyright field
 
Constructor Summary
NotificationFactory()
          Constructor.
 
Method Summary
  Notification getInstance(java.lang.Long notificationId, TransportOverride[] transportOverrides)
          Method used by the server to create notification objects.
  Notification getInstance( TransportOverride[] transportOverrides)
          Method used by client to create notification objects.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail
public static final java.lang.String COPYRIGHT
IBM Copyright field
See Also:
Constant Field Values
Constructor Detail

NotificationFactory

public NotificationFactory()
Constructor.
Method Detail

getInstance

public Notification getInstance(TransportOverride[] transportOverrides)
Method used by client to create notification objects.
Parameters:
transportOverrides - array of TransportOverride objects
Returns:
object implementing the Notification interface

getInstance

public Notification getInstance(java.lang.Long notificationId,
TransportOverride[] transportOverrides)
Method used by the server to create notification objects.
Parameters:
notificationId - the notification id for this object
transportOverrides - array of TransportOverride objects
Returns:
object implementing the Notification interface