org.eclipse.emf.ecp.changebroker.spi
Interface NotificationProvider

All Known Implementing Classes:
AbstractNotificationProvider, ContentAdapterNotificationProvider, EMFStoreNotificationProvider

public interface NotificationProvider

A notification provider is a source for Notifications. It maintains a set of NotificationReceivers which will be notified when there is a new Notification.

Author:
Jonas, jfaltermeier

Method Summary
 void addReceiver(NotificationReceiver receiver)
          Adds a new NotificationReceiver.
 void removeReceiver(NotificationReceiver receiver)
          Removes a NotificationReceiver.
 

Method Detail

addReceiver

void addReceiver(NotificationReceiver receiver)
Adds a new NotificationReceiver. Does nothing of receiver is already registered,

Parameters:
receiver - the receiver to add

removeReceiver

void removeReceiver(NotificationReceiver receiver)
Removes a NotificationReceiver. Does nothing if the receiver was never registered.

Parameters:
receiver - the receiver


Copyright © 2015. All Rights Reserved.