org.apache.muse.ws.resource.properties.listeners
Interface PropertyChangeListener
- All Known Implementing Classes:
- ChangeNotificationListener, MetricUpdateListener
- public interface PropertyChangeListener
PropertyChangeListener describes a type of property listener that is
invoked after a property change has occurred (through the WS-RP
SetResourceProperties operation). Listeners can react to or report the
change from the propertyChanged() method. If you want to prevent changes,
you should use a PropertyChangeApprover.
- Author:
- Dan Jemiolo (danj)
|
Method Summary |
QName |
getPropertyName()
|
void |
propertyChanged(org.w3c.dom.Element oldValue,
org.w3c.dom.Element newValue)
Receives the old and new value of the property after it has been
changed; there are no requirements on the actions taken in response
to a property change. |
getPropertyName
public QName getPropertyName()
- Returns:
- The QName of the property to monitor.
propertyChanged
public void propertyChanged(org.w3c.dom.Element oldValue,
org.w3c.dom.Element newValue)
throws BaseFault
- Receives the old and new value of the property after it has been
changed; there are no requirements on the actions taken in response
to a property change.
- Parameters:
oldValue - A copy of the property instance before it was changed.newValue - The current value of the property instance.
- Throws:
BaseFault -
- If the change reaction fails for any reason.