Package org.pentaho.platform.api.engine
Interface IPluginLifecycleListener
-
- All Known Subinterfaces:
IPlatformPlugin
public interface IPluginLifecycleListener
This interface provides entry points to the plugin manager for plugin loading, and unloading. In other words, a plugin can respond to it's state with respect to the plugin manager.- Author:
- mbatchel
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
init()
Called just prior to the plugin being registered with the platform.void
loaded()
Called after the plugin has been registered with the platform, i.e.void
unLoaded()
Called when the plugin needs to be unloaded.
-
-
-
Method Detail
-
init
void init() throws PluginLifecycleException
Called just prior to the plugin being registered with the platform. Note: This event does *not* precede the detection of the plugin by anyIPluginProvider
s- Throws:
PluginLifecycleException
- if an error occurred
-
loaded
void loaded() throws PluginLifecycleException
Called after the plugin has been registered with the platform, i.e. all content generators, components, etc. have been loaded.- Throws:
PluginLifecycleException
- if an error occurred
-
unLoaded
void unLoaded() throws PluginLifecycleException
Called when the plugin needs to be unloaded. This method should release all resources and return things to a pre-loaded state.- Throws:
PluginLifecycleException
- if an error occurred
-
-