etm.contrib.renderer.plugin
Class CommonsLoggingDumpOnShutdownPlugin

java.lang.Object
  extended by etm.contrib.renderer.plugin.DumpOnShutDownPlugin
      extended by etm.contrib.renderer.plugin.CommonsLoggingDumpOnShutdownPlugin
All Implemented Interfaces:
AggregationListener, EtmMonitorListener, EtmPlugin

public class CommonsLoggingDumpOnShutdownPlugin
extends DumpOnShutDownPlugin

Dumps aggregated performance results using commons logging on shutdown.

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

Field Summary
protected  org.apache.commons.logging.Log log
           
 
Fields inherited from class etm.contrib.renderer.plugin.DumpOnShutDownPlugin
ctx, lineSeparator, logName
 
Constructor Summary
CommonsLoggingDumpOnShutdownPlugin()
           
 
Method Summary
protected  void logResetDetail(java.lang.String information)
          Logs aggregated statistics before reset.
 void start()
          Callback for plugin start.
 void stop()
          Callback for plugin stop()
 
Methods inherited from class etm.contrib.renderer.plugin.DumpOnShutDownPlugin
getPluginMetaData, init, onRootCreate, onRootReset, onStateReset, preRootReset, preStateReset, setLogName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected org.apache.commons.logging.Log log
Constructor Detail

CommonsLoggingDumpOnShutdownPlugin

public CommonsLoggingDumpOnShutdownPlugin()
Method Detail

start

public void start()
Description copied from interface: EtmPlugin
Callback for plugin start.


stop

public void stop()
Description copied from interface: EtmPlugin
Callback for plugin stop()


logResetDetail

protected void logResetDetail(java.lang.String information)
Description copied from class: DumpOnShutDownPlugin
Logs aggregated statistics before reset.

Specified by:
logResetDetail in class DumpOnShutDownPlugin
Parameters:
information - The information that will be resetted.


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