|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.virtuosotechnologies.lib.plugin.BasicPluginInitializer
Basic implementation of PluginInitializer
| Constructor Summary | |
BasicPluginInitializer()
|
|
| Method Summary | |
Object |
getAPIImplementation(Class apiClass,
PluginLinker linker)
A plugin must implement this method to provide the implementations of the APIs that it provides. |
void |
initialize(PluginLinker linker)
Perform first initialization of the plugin. |
boolean |
preShutDown(PluginLinker linker)
Perform any pre-shutdown tasks. |
void |
shutDown(PluginLinker linker)
Perform finalization and shutdown of the plugin. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BasicPluginInitializer()
| Method Detail |
public void initialize(PluginLinker linker)
throws PluginInitializerException
Plugins should perform any time-consuming initialization in this method, rather than in the constructor or static initializers, and should use this method to report any fatal errors during initialization.
initialize in interface PluginInitializerlinker - the linker for this plugin.
PluginInitializerException - thrown if the plugin could not
initialize itself.
public Object getAPIImplementation(Class apiClass,
PluginLinker linker)
throws PluginInitializerException
Plugins should perform any time-consuming initialization in this method, rather than in the constructor or static initializers, and should use this method to report any fatal errors during initialization.
getAPIImplementation in interface PluginInitializerapiClass - the class of the API to implementlinker - the linker for this plugin.
PluginInitializerException - thrown if the plugin could not implement the API.public boolean preShutDown(PluginLinker linker)
preShutDown in interface PluginInitializerlinker - the linker for this plugin.
public void shutDown(PluginLinker linker)
throws PluginInitializerException
shutDown in interface PluginInitializerlinker - the linker for this plugin.
PluginInitializerException - thrown if the plugin could not shut down.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||