etm.core.plugin
Interface EtmPlugin

All Known Implementing Classes:
AbstractRrdPlugin, CommonsLoggingDumpOnShutdownPlugin, DumpOnShutDownPlugin, EtmMonitorJmxPlugin, HttpConsoleServerPlugin, Log4jDumpOnShutdownPlugin, Rrd4jImageGeneratorPlugin, Rrd4jPlugin, SystemOutDumpOnShutdownPlugin

public interface EtmPlugin

An EtmPlugin is an optional service which may be attached to an existing EtmMonitor instance. An EtmPlugin should offer a constructor taking an EtmMonitor argument in order to get access to its managing monitor.

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

Method Summary
 PluginMetaData getPluginMetaData()
          Returns metadata of the plugin.
 void init(EtmMonitorContext ctx)
          Lifecycle Method, will be called before start(), after initalization of the current EtmMonitor runtime.
 void start()
          Callback for plugin start.
 void stop()
          Callback for plugin stop()
 

Method Detail

init

void init(EtmMonitorContext ctx)
Lifecycle Method, will be called before start(), after initalization of the current EtmMonitor runtime.

Parameters:
ctx - The current EtmMonitor Context.
Since:
1.2.0

start

void start()
Callback for plugin start.


stop

void stop()
Callback for plugin stop()


getPluginMetaData

PluginMetaData getPluginMetaData()
Returns metadata of the plugin.

Returns:
The metadata.
Since:
1.2.0


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