public class StandardMonitorRegistry extends Object implements IMonitorRegistry
IMonitorRegistry.| Constructor and Description |
|---|
StandardMonitorRegistry() |
| Modifier and Type | Method and Description |
|---|---|
List |
getMonitors()
A snapshot of available monitors at the moment of the request.
|
IMonitor |
lookupMonitor(String id)
The monitor named
id. |
void |
registerMonitor(IMonitor monitor)
Register a new monitor with the factory to allow access by name.
|
public List getMonitors()
IMonitorRegistrygetMonitors in interface IMonitorRegistrypublic IMonitor lookupMonitor(String id)
IMonitorRegistryid. If none is available a new one
according to configuration or default should be created.lookupMonitor in interface IMonitorRegistryid - The id of the monitor to return.id.public void registerMonitor(IMonitor monitor)
IMonitorRegistryregisterMonitor in interface IMonitorRegistrymonitor - THe monitor object to register.Copyright © 2013 intarsys consulting GmbH. All Rights Reserved.