intarsys runtime library

de.intarsys.tools.monitor
Interface IMonitorRegistry

All Known Implementing Classes:
StandardMonitorRegistry

public interface IMonitorRegistry

A registry for IMonitor instances.


Method Summary
 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.
 

Method Detail

getMonitors

List getMonitors()
A snapshot of available monitors at the moment of the request.

Returns:
A snapshot of available monitors at the moment of the request.

lookupMonitor

IMonitor lookupMonitor(String id)
The monitor named id. If none is available a new one according to configuration or default should be created.

Parameters:
id - The id of the monitor to return.
Returns:
The monitor named id.

registerMonitor

void registerMonitor(IMonitor monitor)
Register a new monitor with the factory to allow access by name.

Parameters:
monitor - THe monitor object to register.

intarsys runtime library

Copyright © 2012 intarsys consulting GmbH. All Rights Reserved.