|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.muse.ws.dm.muws.impl.MetricDecorationProvider
MetricDecorationProvider is a simple property listener that adds the standard WSDM MetricAttributes attributes to a property's XML definition. This listener is invoked just before the property's XML is returned to a client during a WS-RP read. It takes the metric's metadata and adds it to the XML being returned without modifying the WS-RP collection itself.
Constructor Summary | |
---|---|
MetricDecorationProvider(Metric metric)
|
Method Summary | |
---|---|
QName |
getPropertyName()
|
org.w3c.dom.Element[] |
readRequested(org.w3c.dom.Element[] properties)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MetricDecorationProvider(Metric metric)
Method Detail |
public QName getPropertyName()
getPropertyName
in interface PropertyReadListener
public org.w3c.dom.Element[] readRequested(org.w3c.dom.Element[] properties)
readRequested
in interface PropertyReadListener
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).
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |