uk.org.ogsadai.common.properties
Interface PropertyListener

All Known Implementing Classes:
PropertyEventDispatcher, WSRFPropertyListener

public interface PropertyListener

A listener interface for receiving property-related events.

Any class that is interested in processing property-related events must implements this interface. A property listener can be registered with a collection of properties using the Properties#addPropertyListener method. After registration, the property listener will then be notified whenever a property event occurs.

The following property events are supported:

Author:
The OGSA-DAI Project Team

Method Summary
 void propertyAdded(PropertyEvent event)
          Invoked when a new property is added to the properties object.
 void propertyRemoved(PropertyEvent event)
          Invoked when a property is removed from the properties object.
 void propertyUpdated(PropertyEvent event)
          Invoked when a property that already exists in the properties object is updated with a new property object.
 

Method Detail

propertyAdded

public void propertyAdded(PropertyEvent event)
Invoked when a new property is added to the properties object.

Parameters:
event - Describes the details of the event including a reference to the new property object.

propertyRemoved

public void propertyRemoved(PropertyEvent event)
Invoked when a property is removed from the properties object.

Parameters:
event - Describes the details of the event including a reference to the property that was removed.

propertyUpdated

public void propertyUpdated(PropertyEvent event)
Invoked when a property that already exists in the properties object is updated with a new property object.

Parameters:
event - Describes the details of the event including a reference to the updated property object.