public class AdaptableActivationNotificationListener extends java.lang.Object implements IActivationNotificationListener
IActivationNotificationListener
implementation. It utilizes the AdaptableEVM
to enable
listening to activation state change events.Constructor and Description |
---|
AdaptableActivationNotificationListener(IActivationNotificationListener delegatedListener,
AdaptableEVM adapterContainer) |
Modifier and Type | Method and Description |
---|---|
void |
activationChanged(Activation<?> activation,
ActivationState oldState,
EventType event)
This method is called by
ActivationNotificationProvider to relay changes to listeners. |
void |
activationCreated(Activation<?> activation,
ActivationState inactiveState) |
void |
activationRemoved(Activation<?> activation,
ActivationState oldState) |
public AdaptableActivationNotificationListener(IActivationNotificationListener delegatedListener, AdaptableEVM adapterContainer)
public void activationChanged(Activation<?> activation, ActivationState oldState, EventType event)
IActivationNotificationListener
ActivationNotificationProvider
to relay changes to listeners.
Implementing classes can use the old state, the event, and the new state (available from the activation).activationChanged
in interface IActivationNotificationListener
public void activationCreated(Activation<?> activation, ActivationState inactiveState)
activationCreated
in interface IActivationNotificationListener
public void activationRemoved(Activation<?> activation, ActivationState oldState)
activationRemoved
in interface IActivationNotificationListener