|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.virtuosotechnologies.lib.plugin.BasicPluginInitializer
com.virtuosotechnologies.asaph.xmldatabase.XMLDatabasePlugin
Plugin that provides the XML database implementations.
Constructor Summary | |
XMLDatabasePlugin()
Constructor. |
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. |
void |
shutDown(PluginLinker linker)
Perform finalization and shutdown of the plugin. |
Methods inherited from class com.virtuosotechnologies.lib.plugin.BasicPluginInitializer |
preShutDown |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XMLDatabasePlugin()
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 PluginInitializer
initialize
in class BasicPluginInitializer
linker
- 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 PluginInitializer
getAPIImplementation
in class BasicPluginInitializer
apiClass
- the class of the API to implementlinker
- the linker for this plugin.
PluginInitializerException
- thrown if the plugin could not implement the API.public void shutDown(PluginLinker linker) throws PluginInitializerException
shutDown
in interface PluginInitializer
shutDown
in class BasicPluginInitializer
linker
- 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 |