java.lang.Object | |
↳ | com.atlassian.plugin.osgi.factory.UnloadableStaticPluginFactory |
Creates unloadable plugins from static plugins. Used to handle when a static plugin (version 1) is deployed
to a directory that only accepts OSGi plugins. This should be placed last in the chain of plugin factories and
only if LegacyDynamicPluginFactory
is not used.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Determines if this factory can handle this artifact.
| |||||||||||
Creates an unloadable plugin
| |||||||||||
This method is deprecated.
Since 2.2.0, use
create(PluginArtifact, ModuleDescriptorFactory) instead
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.atlassian.plugin.factories.PluginFactory
|
Determines if this factory can handle this artifact.
pluginArtifact | The artifact to test |
---|
PluginParseException |
---|
Creates an unloadable plugin
pluginArtifact | the plugin artifact to deploy |
---|---|
moduleDescriptorFactory | The factory for plugin modules |
PluginParseException | If the descriptor cannot be parsed |
---|
This method is deprecated.
Since 2.2.0, use create(PluginArtifact, ModuleDescriptorFactory)
instead
Deploys the deployment unit by instantiating the plugin and configuring it. Should only be called if the respective
canCreate(PluginArtifact)
call returned the plugin key
deploymentUnit | the unit to deploy |
---|---|
moduleDescriptorFactory | the factory for the module descriptors |
PluginParseException |
---|