2017-07-27 14:06:04 -07:00
|
|
|
package org.nwapw.abacus.plugin;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* A listener that responds to changes in the PluginManager.
|
|
|
|
*/
|
|
|
|
public interface PluginListener {
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Called when the PluginManager loads plugins.
|
2017-07-30 21:11:32 -07:00
|
|
|
*
|
2017-07-27 14:06:04 -07:00
|
|
|
* @param manager the manager that fired the event.
|
|
|
|
*/
|
|
|
|
public void onLoad(PluginManager manager);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Called when the PluginManager unloads all its plugins.
|
2017-07-30 21:11:32 -07:00
|
|
|
*
|
2017-07-27 14:06:04 -07:00
|
|
|
* @param manager the manager that fired the event.
|
|
|
|
*/
|
|
|
|
public void onUnload(PluginManager manager);
|
|
|
|
|
|
|
|
}
|