com.go.trove.util.plugin
Interface Plugin

All Superinterfaces:
java.util.EventListener, PluginListener
All Known Implementing Classes:
PluginAdapter

public interface Plugin
extends PluginListener

Implement this interface for providing plugin functionality.

Version:
1 - 01/03/23
Author:
Scott Jappinen

Method Summary
 void destroy()
          Called by the host container when the plugin is no longer needed.
 java.lang.String getName()
          Return the name of the Plugin.
 void init(PluginConfig config)
          Initializes resources used by the Plugin.
 
Methods inherited from interface com.go.trove.util.plugin.PluginListener
pluginAdded
 

Method Detail

init

public void init(PluginConfig config)
          throws PluginException
Initializes resources used by the Plugin.
Parameters:
config - the plugins's configuration object
Throws:
PluginException -  

getName

public java.lang.String getName()
Return the name of the Plugin.
Returns:
String the name of the plugin.

destroy

public void destroy()
Called by the host container when the plugin is no longer needed.