Package org.wso2.carbon.registry.admin.api.jmx

# Interface INotificationService

All Superinterfaces:
  `IEventsService`

public interface INotificationService extends IEventsService
Extended API for handling notifications.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `addNotification(Date timestamp, String notification)`
  Method to create a notification.
  `void`
  `registerBroadcaster(NotificationBroadcasterSupport broadcaster, String event)`
  Registers a JMX broadcaster.

  ### Methods inherited from interface org.wso2.carbon.registry.admin.api.jmx.IEventsService

  `clearAll, getList`

- ## Method Details

  - ### addNotification

    void addNotification(Date timestamp, String notification)
    Method to create a notification.
    Parameters:
      `timestamp` - the timestamp
      `notification` - the message.

  - ### registerBroadcaster

    void registerBroadcaster(NotificationBroadcasterSupport broadcaster, String event)
    Registers a JMX broadcaster.
    Parameters:
      `broadcaster` - the broadcaster.
      `event` - the type of event.