The monitorable service is identified by its PID string which must be a non- {@code null}, non-empty string that conforms to the "symbolic-name" definition in the OSGi core specification. This means that only the characters [-_.a-zA-Z0-9] may be used. The length of the PID must not exceed 32 characters.
A {@code Monitorable} may optionally support sending notifications when thestatus of its {@code StatusVariables} change. Support for changenotifications can be defined per {@code StatusVariable}.
Publishing {@code StatusVariables} requires the presence of the{@code MonitorPermission} with the {@code publish} action string. Thispermission, however, is not checked during registration of the {@code Monitorable} service. Instead, the {@code MonitorAdmin} implementationmust make sure that when a {@code StatusVariable} is queried, it is shownonly if the {@code Monitorable} is authorized to publish the given{@code StatusVariable}. @author $Id: 27679a7cfe46ef95bdce89e82dbaf3f277243865 $
|
|
|
|