public interface MonitorListener
MonitorListener is used by Monitorable services
to send notifications when a StatusVariable value is changed.
The MonitorListener should register itself as a service at the
OSGi Service Registry. This interface must (only) be implemented by the
Monitor Admin component.| Modifier and Type | Method and Description |
|---|---|
void |
updated(String monitorableId,
StatusVariable statusVariable)
Callback for notification of a
StatusVariable change. |
void updated(String monitorableId, StatusVariable statusVariable) throws IllegalArgumentException
StatusVariable change.monitorableId - the identifier of the Monitorable
instance reporting the changestatusVariable - the StatusVariable that has changedIllegalArgumentException - if the specified monitorable
ID is invalid (null, empty, or contains illegal
characters) or points to a non-existing Monitorable,
or if statusVariable is nullCopyright © 2006-2015 OSGi Alliance. All Rights Reserved.