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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetInstance(InputStream source, Iterable<InputStream> supplementalSources, Set<Application> applications) Gets an instance that filters the modules "component", "component-import", "module-type", "bean", and "spring"getInstance(InputStream source, Set<Application> applications) Gets an instance that filters the modules "component", "component-import", "module-type", "bean", and "spring"
-
Constructor Details
-
OsgiPluginXmlDescriptorParserFactory
public OsgiPluginXmlDescriptorParserFactory()
-
-
Method Details
-
getInstance
Gets an instance that filters the modules "component", "component-import", "module-type", "bean", and "spring"- Specified by:
getInstancein interfaceDescriptorParserFactory- Parameters:
source- The descriptor source- Returns:
- The parser
- Throws:
PluginParseException
-
getInstance
public 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"- Specified by:
getInstancein interfaceCompositeDescriptorParserFactory- Parameters:
source- The descriptor sourcesupplementalSources- extra sources describing modules- Returns:
- The parser
- Throws:
PluginParseException- Since:
- 3.2.16
-