public abstract class ActivationNotificationProvider extends java.lang.Object implements IActivationNotificationProvider
| Constructor and Description | 
|---|
| ActivationNotificationProvider() | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | addActivationNotificationListener(IActivationNotificationListener listener,
                                 boolean fireNow)Registers an  IActivationNotificationListenerto receive updates on activation appearance and
 disappearance. | 
| void | dispose()Disposes of the provider by unregistering all listeners. | 
| void | notifyActivationChanged(Activation<?> activation,
                       ActivationState oldState,
                       EventType event)Notifies listeners about an activation change. | 
| void | notifyActivationCreated(Activation<?> activation,
                       ActivationState inactiveState)Notifies listeners about an activation creation. | 
| void | notifyActivationRemoved(Activation<?> activation,
                       ActivationState oldState)Notifies listeners about an activation removal. | 
| boolean | removeActivationNotificationListener(IActivationNotificationListener listener)Unregisters a listener registered by
  IActivationNotificationProvider.addActivationNotificationListener(IActivationNotificationListener, boolean). | 
public boolean addActivationNotificationListener(IActivationNotificationListener listener, boolean fireNow)
IActivationNotificationProviderIActivationNotificationListener to receive updates on activation appearance and
 disappearance.
 
 
 The listener can be unregistered via
 IActivationNotificationProvider.removeActivationNotificationListener(IActivationNotificationListener).
addActivationNotificationListener in interface IActivationNotificationProviderlistener - the listener that will be notified of each new activation that appears or disappears, starting from
            now.fireNow - if true, listener will be immediately invoked on all current activations as a one-time effect.public boolean removeActivationNotificationListener(IActivationNotificationListener listener)
IActivationNotificationProviderIActivationNotificationProvider.addActivationNotificationListener(IActivationNotificationListener, boolean).removeActivationNotificationListener in interface IActivationNotificationProviderlistener - the listener that will no longer be notified.public void notifyActivationChanged(Activation<?> activation, ActivationState oldState, EventType event)
activation - oldState - event - public void notifyActivationCreated(Activation<?> activation, ActivationState inactiveState)
activation - inactiveState - public void notifyActivationRemoved(Activation<?> activation, ActivationState oldState)
activation - oldState - public void dispose()