com.virtuosotechnologies.asaph.standardmodel
Class StandardModelPlugin
java.lang.Object
com.virtuosotechnologies.lib.plugin.BasicPluginInitializer
com.virtuosotechnologies.asaph.standardmodel.StandardModelPlugin
- All Implemented Interfaces:
- PluginInitializer
- public class StandardModelPlugin
- extends BasicPluginInitializer
Plugin for the standard model
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StandardModelPlugin
public StandardModelPlugin()
- Constructor
getAPIImplementation
public Object getAPIImplementation(Class apiClass,
PluginLinker linker)
throws 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 PluginInitializer
- Overrides:
getAPIImplementation
in class BasicPluginInitializer
- Parameters:
apiClass
- the class of the API to implementlinker
- the linker for this plugin.
- Returns:
- an object implementing the API.
- Throws:
PluginInitializerException
- thrown if the plugin could not implement the API.