com.atlassian.plugin.osgi.factory
Class OsgiPluginXmlDescriptorParserFactory
java.lang.Object
com.atlassian.plugin.osgi.factory.OsgiPluginXmlDescriptorParserFactory
- All Implemented Interfaces:
- CompositeDescriptorParserFactory, DescriptorParserFactory
public class OsgiPluginXmlDescriptorParserFactory
- extends Object
- implements DescriptorParserFactory, CompositeDescriptorParserFactory
Descriptor parser factory that creates parsers for Osgi plugins. Must only be used with OsgiPlugin instances.
- Since:
- 2.1.2
|
Method Summary |
DescriptorParser |
getInstance(InputStream source,
Iterable<InputStream> supplementalSources,
Set<Application> applications)
Gets an instance that filters the modules "component", "component-import", "module-type", "bean", and "spring" |
DescriptorParser |
getInstance(InputStream source,
Set<Application> applications)
Gets an instance that filters the modules "component", "component-import", "module-type", "bean", and "spring" |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OsgiPluginXmlDescriptorParserFactory
public OsgiPluginXmlDescriptorParserFactory()
getInstance
public DescriptorParser getInstance(InputStream source,
Set<Application> applications)
throws PluginParseException
- Gets an instance that filters the modules "component", "component-import", "module-type", "bean", and "spring"
- Specified by:
getInstance in interface DescriptorParserFactory
- Parameters:
source - The descriptor sourceapplications - The list of application keys to match for module descriptors
- Returns:
- The parser
- Throws:
PluginParseException
getInstance
public DescriptorParser getInstance(InputStream source,
Iterable<InputStream> supplementalSources,
Set<Application> applications)
throws PluginParseException
- Gets an instance that filters the modules "component", "component-import", "module-type", "bean", and "spring"
- Specified by:
getInstance in interface CompositeDescriptorParserFactory
- Parameters:
source - The descriptor sourcesupplementalSources - extra sources describing modulesapplications - The list of application keys to match for module descriptors
- Returns:
- The parser
- Throws:
PluginParseException- Since:
- 3.2.16
Copyright © 2015 Atlassian. All rights reserved.