java.lang.Object | |
↳ | com.atlassian.plugin.osgi.factory.OsgiPluginFactory |
Plugin loader that starts an OSGi container and loads plugins into it, wrapped as OSGi bundles. Supports
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
OsgiPluginFactory.DefaultPluginTransformerFactory | |||||||||||
OsgiPluginFactory.PluginTransformerFactory |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This constructor is deprecated.
No replacement.
| |||||||||||
Default constructor
| |||||||||||
Constructor for implementations that want to override the DefaultPluginTransformer with a custom implementation
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Determines if this factory can handle this artifact.
| |||||||||||
Deploys the plugin artifact
| |||||||||||
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
|
This constructor is deprecated.
No replacement.
Old constructor retained for backwards compatibility
Default constructor
Constructor for implementations that want to override the DefaultPluginTransformer with a custom implementation
Determines if this factory can handle this artifact.
pluginArtifact | The artifact to test |
---|
PluginParseException |
---|
Deploys the plugin artifact
pluginArtifact | the plugin artifact to deploy |
---|---|
moduleDescriptorFactory | The factory for plugin modules |
PluginParseException | If the descriptor cannot be parsed |
---|---|
IllegalArgumentException | If the plugin descriptor isn't found, and the plugin key and bundle version aren't specified in the manifest |
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 |
---|