etm.contrib.renderer.plugin
Class Log4jDumpOnShutdownPlugin

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

public class Log4jDumpOnShutdownPlugin
extends DumpOnShutDownPlugin

Dumps aggregated performance results using log4j on shutdown.

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

Field Summary
protected  org.apache.log4j.Logger log
           
 
Fields inherited from class etm.contrib.renderer.plugin.DumpOnShutDownPlugin
ctx, lineSeparator, logName
 
Constructor Summary
Log4jDumpOnShutdownPlugin()
           
 
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.log4j.Logger log
Constructor Detail

Log4jDumpOnShutdownPlugin

public Log4jDumpOnShutdownPlugin()
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.