org.apache.tuscany.common.monitor.impl
Class NullMonitorFactory
java.lang.Object
org.apache.tuscany.common.monitor.impl.NullMonitorFactory
- All Implemented Interfaces:
- MonitorFactory
public class NullMonitorFactory
- extends Object
- implements MonitorFactory
Implementation of a MonitorFactory
that produces implementations that simply return.
- Version:
- $Rev: 408581 $ $Date: 2006-05-21 23:34:24 -0700 (Sun, 21 May 2006) $
Method Summary |
|
getMonitor(Class<T> monitorInterface)
Return a monitor for a component's monitor interface. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullMonitorFactory
public NullMonitorFactory()
getMonitor
public <T> T getMonitor(Class<T> monitorInterface)
- Description copied from interface:
MonitorFactory
- Return a monitor for a component's monitor interface.
- Specified by:
getMonitor
in interface MonitorFactory
- Parameters:
monitorInterface
- the component's monitoring interface
- Returns:
- an implementation of the monitoring interface; will not be null
-