Openwings API Documentation (v1.1)

net.openwings.context
Interface PropertyListener


public interface PropertyListener

This interface describes a callback that can be registered with a Context to be notified when properties are added, changed, or deleted in a Context.


Method Summary
 void propertyRemoved(java.lang.String key, java.lang.String value)
          This method is invoked when a property is removed.
 void propertySet(java.lang.String key, java.lang.String value)
          This method is invoked when a property is added or changed.
 

Method Detail

propertySet

public void propertySet(java.lang.String key,
                        java.lang.String value)
                 throws java.rmi.RemoteException
This method is invoked when a property is added or changed.

Parameters:
key - Property key.
value - Property value.
Throws:
java.rmi.RemoteException - if there is an error communicating with the listener.

propertyRemoved

public void propertyRemoved(java.lang.String key,
                            java.lang.String value)
                     throws java.rmi.RemoteException
This method is invoked when a property is removed.

Parameters:
key - Property key.
value - Property value.
Throws:
java.rmi.RemoteException - if there is an error communicating with the listener.

Openwings API Documentation (v1.1)