|
|||||||||||
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.MetricOnDemandListener
MetricOnDemandListener is a simple property listener that makes sure an OnDemand metric's timestamps are updated for each property read that occurs. Because OnDemand metrics are collected on a need-to-know basis, we must update metric metadata to reflect new values even if they didn't come from a property insert/update/etc.
Constructor Summary | |
---|---|
MetricOnDemandListener(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 MetricOnDemandListener(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 |