public class OsgiPluginXmlDescriptorParser extends XmlDescriptorParser
OsgiPlugin instances.| Constructor and Description |
|---|
OsgiPluginXmlDescriptorParser(InputStream source,
Set<Application> applications) |
| Modifier and Type | Method and Description |
|---|---|
protected ModuleDescriptor<?> |
createModuleDescriptor(Plugin plugin,
org.dom4j.Element element,
ModuleDescriptorFactory moduleDescriptorFactory)
Passes module descriptor elements back to the
OsgiPlugin |
configurePlugin, createDocument, createPluginInformation, getDocument, getKey, getPluginInformation, getPluginsVersion, isSystemPluginpublic OsgiPluginXmlDescriptorParser(InputStream source, Set<Application> applications) throws PluginParseException
source - The XML descriptor sourceapplications - The application keys to limit modules to, null for only unspecifiedPluginParseException - if there is a problem reading the descriptor from the XML InputStream.protected ModuleDescriptor<?> createModuleDescriptor(Plugin plugin, org.dom4j.Element element, ModuleDescriptorFactory moduleDescriptorFactory) throws PluginParseException
OsgiPlugincreateModuleDescriptor in class XmlDescriptorParserplugin - The pluginelement - The module elementmoduleDescriptorFactory - The module descriptor factoryPluginParseExceptionCopyright © 2014 Atlassian. All rights reserved.