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

Quick Search    Search Deep

com.virtuosotechnologies.asaph.standardmodel
Class StandardModelPlugin  view StandardModelPlugin download StandardModelPlugin.java

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

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

Plugin for the standard model


Constructor Summary
StandardModelPlugin()
           
 
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
 

Constructor Detail

StandardModelPlugin

public StandardModelPlugin()
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