uk.org.ogsadai.config.event
Interface KeyValueEventDispatcher

All Known Subinterfaces:
KeyValueProperties, SessionResource
All Known Implementing Classes:
SimpleKeyValueProperties, SimpleSessionResource

public interface KeyValueEventDispatcher

This interface should be implemented by objects that wish to notify persistence components that some key-value has been added/removed. It is typically implemented by objects that the persistence layer knows how to persist.

Author:
The OGSA-DAI Project Team

Method Summary
 void addKeyValueEventListener(KeyValueEventListener listener)
          Add a listener to those to be notified of state changed.
 void removeKeyValueEventListener(KeyValueEventListener listener)
          Remove a listener from those to be notified of state changed.
 

Method Detail

addKeyValueEventListener

void addKeyValueEventListener(KeyValueEventListener listener)
Add a listener to those to be notified of state changed.

Parameters:
listener - the listener to be added

removeKeyValueEventListener

void removeKeyValueEventListener(KeyValueEventListener listener)
Remove a listener from those to be notified of state changed.

Parameters:
listener - the listener to be removed