de.intarsys.tools.monitor.IMonitorRegistry Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of isrt Show documentation
Show all versions of isrt Show documentation
The basic runtime tools and interfaces for intarsys components.
package de.intarsys.tools.monitor;
import java.util.List;
/**
* A registry for {@link IMonitor} instances.
*/
public interface IMonitorRegistry {
/**
* A snapshot of available monitors at the moment of the request.
*
* @return A snapshot of available monitors at the moment of the request.
*/
public List getMonitors();
/**
* The monitor named id
. If none is available a new one
* according to configuration or default should be created.
*
* @param id
* The id of the monitor to return.
*
* @return The monitor named id
.
*/
public IMonitor lookupMonitor(String id);
/**
* Register a new monitor with the factory to allow access by name.
*
* @param monitor
* THe monitor object to register.
*/
public void registerMonitor(IMonitor monitor);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy