public abstract class AbstractPlugin extends java.lang.Object implements Plugin
Plugin interface, which does nothing, to minimize
the effort required to implement this interface.| Modifier and Type | Field and Description |
|---|---|
protected MDIApplication |
appli
The MDIApplication.
|
protected CommandLineHandler |
commandLineHandler
The command-line handler.
|
| Constructor and Description |
|---|
AbstractPlugin() |
| Modifier and Type | Method and Description |
|---|---|
CommandLineHandler |
getCommandLineHandler()
Return the command-line handler.
|
java.lang.ClassLoader |
getContextClassLoader()
Return the context classLoader used to create the plugin.
|
ApplicationDesc |
getPluginDesc()
Return the Plugin description.
|
void |
init(MDIApplication app)
Initialize the Plugin.
|
void |
register(MDIApplication appli)
Register the Application.
|
void |
setCommandLineHandler(CommandLineHandler handler)
Set the command-line handler.
|
protected void |
setupPluginDesc(Configuration conf)
Setup the content of the plugin description, using the Plugin configuration.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdispose, executeCustomAction, getDefaultPluginProperty, getPluginBuildDate, getPluginConfiguration, getPluginDescription, getPluginName, getPluginProperty, getPluginVersion, getProperty, getPropertyType, hasProperty, loadResources, modifySettings, resetSettings, setProperty, supportCustomActiongetCommandLineConfiguration, handleCommandLineArguments, handleCommandLineArguments, handleCommandLineException, preventOpeningApplicationprotected CommandLineHandler commandLineHandler
protected MDIApplication appli
public java.lang.ClassLoader getContextClassLoader()
public ApplicationDesc getPluginDesc()
getPluginDesc in interface Pluginprotected void setupPluginDesc(Configuration conf)
conf - the Plugin configurationpublic void register(MDIApplication appli) throws java.lang.Exception
appli to the application is register.public void setCommandLineHandler(CommandLineHandler handler)
setCommandLineHandler in interface CommandLineListenerhandler - the handlerpublic CommandLineHandler getCommandLineHandler()
getCommandLineHandler in interface CommandLineListenerpublic void init(MDIApplication app) throws java.lang.Exception