public interface PluginManifestKeys
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
KEY_PLUGIN_CLASS
"MDIPluginClass":The Plugin ClassPath manifest key.
|
static java.lang.String |
KEY_PLUGIN_CONFIG
"MDIPluginConfig": The manifest key for a list of configuration names use by this Plugin.
|
static java.lang.String |
KEY_PLUGIN_DEPENDENCIES
"MDIPluginDependencies": The manifest key to set the list of other Plugins on which this Plugin is dependant on.
|
static java.lang.String |
KEY_PLUGIN_FACTORY
"MDIPluginFactory": The Plugin factory. it can be used to customize a Plugin initialization.
|
static java.lang.String |
KEY_PLUGIN_TYPE
"MDIPluginType": The Plugin type manifest key.
|
static final java.lang.String KEY_PLUGIN_TYPE
PluginsManager.setAllowedPluginTypes(java.util.Map) method. Plugins which are not allowed will not be
loaded by the PluginsManager.static final java.lang.String KEY_PLUGIN_FACTORY
static final java.lang.String KEY_PLUGIN_CLASS
PluginsManager.setApplicationID(java.lang.String)
value.
MDIPluginClass: org.mypackage.MyClassIn this case the parser will return org.mypackage.MyClass in all cases.
MDIPluginClass: appli:org.mypackage.MyClassIn this case the parser will return "org.mypackage.MyClass" if the PluginManager is initialized with "appli" or null, and null in all other cases.
MDIPluginClass: appli:org.mypackage.MyClass;appli2:org.mypackage.MyClass2In this case the parser will return "org.mypackage.MyClass" if the parser is initialized with "appli" or null, "org.mypackage.MyClass2" if the parser is initialized with "appli2", and null in all other cases.
static final java.lang.String KEY_PLUGIN_DEPENDENCIES
PluginElementTypes.PROPERTY_DEPEND property, the
manage won't even try to load the Plugin if a Plugin on which the associated Plugin depends on is not present.
Note that:
KEY_PLUGIN_CLASS)MDIPluginClass: org.package1.plugin1And another one with the following manifest declarations:
MDIPluginClass: org.package2.plugin2 MDIPluginDependencies: org.package1.plugin1The second Plugin will only be loaded if the first one is found and loaded.
MDIPluginClass: org.package1.plugin1and:
MDIPluginClass: org.package2.plugin2And a last one with the following manifest declarations:
MDIPluginClass: org.package3.plugin3 MDIPluginDependencies: org.package1.plugin1;org.package2.plugin2
MDIPluginClass: appli1:org.package1.plugin1;appli2:org.package1.plugin2And another one with the following manifest declarations:
MDIPluginClass: org.package3.plugin3 MDIPluginDependencies: org.package1.plugin1The second Plugin will only be loaded if the first one is found and loaded, wheach means that it won't be loaded if the application ID is different from "appli1".
static final java.lang.String KEY_PLUGIN_CONFIG
MDIPluginClass: org.package3.plugin3 MDIPluginConfig: myConf1;myConf2