Overview | Package | Class | Tree | Serialized | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.muse.ws.resource.properties.listeners
Interface PropertyReadListener

All Known Implementing Classes:
  MetricDecorationProvider, MetricOnDemandListener

public interface PropertyReadListener

PropertyReadListener describes a type of property listener that is invoked before a property read request is completed (through the WS-RP GetResourceProperty and GetMultipleResourceProperties operations). Listeners can react to the read request in any way: the read can be prevented by throwing an exception, the value returned to the reader can be modified, etc. This is very useful when defining "dynamic properties", properties that change constantly and whose values are only updated when a read request is made.

Author:
  Dan Jemiolo (danj)

Method Summary
`QName` | `getPropertyName()`
`org.w3c.dom.Element[]` | `readRequested(org.w3c.dom.Element[] properties)`

Method Detail

### getPropertyName

    public QName getPropertyName()

  Returns:
    The name of the property to monitor.

### readRequested

    public org.w3c.dom.Element[] readRequested(org.w3c.dom.Element[] properties)
                                        throws BaseFault

  Parameters:
    `properties` - The actual property values that will be returned to the caller at the end of the read operation. WS-RP collections should not pass copies of the values to a listener, since that prevents the ability to define dynamic property values (properties that constantly change and are only updated on read requests).
  Throws:
    `BaseFault`

Overview | Package | Class | Tree | Serialized | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD