Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.virtuosotechnologies.asaph.xmldatabase
Class XMLDatabasePlugin  view XMLDatabasePlugin download XMLDatabasePlugin.java

java.lang.Object
  extended bycom.virtuosotechnologies.asaph.xmldatabase.XMLDatabasePlugin
All Implemented Interfaces:
com.virtuosotechnologies.lib.plugin.PluginInitializer

public class XMLDatabasePlugin
extends java.lang.Object
implements com.virtuosotechnologies.lib.plugin.PluginInitializer

Plugin that provides the XML database implementations


Field Summary
private  IndexedDatabaseFactoryImpl indexedDatabaseFactory_
           
private  XMLDatabaseGui xmlDatabaseGui_
           
 
Constructor Summary
XMLDatabasePlugin()
           
 
Method Summary
 java.lang.Object getAPIImplementation(java.lang.String apiName, com.virtuosotechnologies.lib.plugin.PluginLinker linker)
          A plugin must implement this method to provide the implementations of the APIs that it provides.
 void initialize(com.virtuosotechnologies.lib.plugin.PluginLinker linker)
          Perform first initialization of the plugin.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

indexedDatabaseFactory_

private IndexedDatabaseFactoryImpl indexedDatabaseFactory_

xmlDatabaseGui_

private XMLDatabaseGui xmlDatabaseGui_
Constructor Detail

XMLDatabasePlugin

public XMLDatabasePlugin()
Method Detail

initialize

public void initialize(com.virtuosotechnologies.lib.plugin.PluginLinker linker)
                throws com.virtuosotechnologies.lib.plugin.PluginInitializerException
Perform first initialization of the plugin. This is called after the plugin is instantiated, but before it is asked to provide any of its API implementations. Any APIs the plugin declared it needed for initialization will be available through the linker when this method is called.

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.

Specified by:
initialize in interface com.virtuosotechnologies.lib.plugin.PluginInitializer

getAPIImplementation

public java.lang.Object getAPIImplementation(java.lang.String apiName,
                                             com.virtuosotechnologies.lib.plugin.PluginLinker linker)
                                      throws com.virtuosotechnologies.lib.plugin.PluginInitializerException
A plugin must implement this method to provide the implementations of the APIs that it provides. This method is called after the initialize() method. Any APIs the plugin declared it needed in to implement this API will be available through the linker when this method is called.

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.

Specified by:
getAPIImplementation in interface com.virtuosotechnologies.lib.plugin.PluginInitializer