etm.core.configuration
Class EtmManager

java.lang.Object
  extended by etm.core.configuration.EtmManager

public class EtmManager
extends java.lang.Object

Static helper class for accessing the EtmMonitor instance created by EtmConfigurators such as BasicEtmConfigurator or XmlEtmConfigurator

Version:
$Revision: 246 $
Author:
void.fm

Method Summary
protected static void configure(EtmMonitor aEtmMonitor)
          Sets the EtmMonitor.
static EtmMonitor getEtmMonitor()
          Returns the currently configured EtmMonitor instance.
static void reset()
          Resets the current EtmManager.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

configure

protected static void configure(EtmMonitor aEtmMonitor)
Sets the EtmMonitor.

Parameters:
aEtmMonitor - The new EtmMonitor which will be returned by {#getEtmMonitor}.

getEtmMonitor

public static EtmMonitor getEtmMonitor()
Returns the currently configured EtmMonitor instance.

Returns:
The etmMonitor.

reset

public static void reset()
Resets the current EtmManager. Be aware that cached monitor instance outside EtmManager will not be reset.



Copyright © 2004,2005, 2006, 2007 void.fm. All Rights Reserved.