package jas2.plugin;

/**
 * Plugins may implement this class rather than extend Plugin
 * if they prefer.
 */
public interface IPlugin
{
	/**
	 * Called by the application when the plugin is installed
	 */
	public void setPluginContext(PluginContext context);
	/**
	 * Called by the application when the plugin is destroyed
	 * typically when the job containing the plugin is closed.
	 */
	public void destroy();
}

 

Ads help maintain this website.