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 Detail

      • COPYRIGHT

        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