public final class RemotablePluginFactory extends AbstractPluginFactory
applications, descriptorParserFactory, log| Constructor and Description |
|---|
RemotablePluginFactory(String pluginDescriptorFileName,
Set<Application> applications,
OsgiContainerManager osgi,
PluginEventManager pluginEventManager)
Constructor for implementations that want to override the DefaultPluginTransformer with a custom implementation
|
| Modifier and Type | Method and Description |
|---|---|
Plugin |
create(PluginArtifact pluginArtifact,
ModuleDescriptorFactory moduleDescriptorFactory)
Creates the plugin
|
protected InputStream |
getDescriptorInputStream(PluginArtifact pluginArtifact) |
protected com.google.common.base.Predicate<Integer> |
isValidPluginsVersion() |
canCreate, create, getPluginKeyFromDescriptor, hasDescriptorpublic RemotablePluginFactory(String pluginDescriptorFileName, Set<Application> applications, OsgiContainerManager osgi, PluginEventManager pluginEventManager)
protected InputStream getDescriptorInputStream(PluginArtifact pluginArtifact)
getDescriptorInputStream in class AbstractPluginFactoryprotected com.google.common.base.Predicate<Integer> isValidPluginsVersion()
isValidPluginsVersion in class AbstractPluginFactorypublic Plugin create(PluginArtifact pluginArtifact, ModuleDescriptorFactory moduleDescriptorFactory) throws PluginParseException
pluginArtifact - the plugin artifact to deploymoduleDescriptorFactory - The factory for plugin modulesPluginParseException - If the descriptor cannot be parsedIllegalArgumentException - If the plugin descriptor isn't found, and the plugin key and bundle version aren't
specified in the manifestCopyright © 2014 Atlassian. All rights reserved.