Tuscany Common

org.apache.tuscany.common.monitor
Interface MonitorFactory

All Known Implementing Classes:
JavaLoggingMonitorFactory, NullMonitorFactory

public interface MonitorFactory

A MonitorFactory creates implementations of components' monitor interfaces that interface with a its monitoring scheme. For example, a implementation may create versions that emit appropriate logging events or which send notifications to a management API.

Version:
$Rev: 368822 $ $Date: 2006-01-13 13:54:38 -0500 (Fri, 13 Jan 2006) $

Method Summary
<T> T
getMonitor(java.lang.Class<T> monitorInterface)
          Return a monitor for a component's monitor interface.
 

Method Detail

getMonitor

<T> T getMonitor(java.lang.Class<T> monitorInterface)
Return a monitor for a component's monitor interface.

Parameters:
monitorInterface - the component's monitoring interface
Returns:
an implementation of the monitoring interface; will not be null

Tuscany Common

-