Package org.osgi.service.monitor
Interface MonitorListener
-
public interface MonitorListenerTheMonitorListeneris used byMonitorableservices to send notifications when aStatusVariablevalue is changed. TheMonitorListenershould register itself as a service at the OSGi Service Registry. This interface must (only) be implemented by the Monitor Admin component.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidupdated(java.lang.String monitorableId, StatusVariable statusVariable)Callback for notification of aStatusVariablechange.
-
-
-
Method Detail
-
updated
void updated(java.lang.String monitorableId, StatusVariable statusVariable) throws java.lang.IllegalArgumentExceptionCallback for notification of aStatusVariablechange.- Parameters:
monitorableId- the identifier of theMonitorableinstance reporting the changestatusVariable- theStatusVariablethat has changed- Throws:
java.lang.IllegalArgumentException- if the specified monitorable ID is invalid (null, empty, or contains illegal characters) or points to a non-existingMonitorable, or ifstatusVariableisnull
-
-