Class OsgiPluginXmlDescriptorParserFactory
java.lang.Object
com.atlassian.plugin.osgi.factory.OsgiPluginXmlDescriptorParserFactory
- All Implemented Interfaces:
com.atlassian.plugin.parsers.CompositeDescriptorParserFactory,com.atlassian.plugin.parsers.DescriptorParserFactory
public class OsgiPluginXmlDescriptorParserFactory
extends Object
implements com.atlassian.plugin.parsers.DescriptorParserFactory, com.atlassian.plugin.parsers.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 TypeMethodDescriptioncom.atlassian.plugin.parsers.DescriptorParsergetInstance(InputStream source, Iterable<InputStream> supplementalSources, Set<com.atlassian.plugin.Application> applications) Gets an instance that filters the modules "component", "component-import", "module-type", "bean", and "spring"com.atlassian.plugin.parsers.DescriptorParsergetInstance(InputStream source, Set<com.atlassian.plugin.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
public com.atlassian.plugin.parsers.DescriptorParser getInstance(InputStream source, Set<com.atlassian.plugin.Application> applications) Gets an instance that filters the modules "component", "component-import", "module-type", "bean", and "spring"- Specified by:
getInstancein interfacecom.atlassian.plugin.parsers.DescriptorParserFactory- Parameters:
source- The descriptor source- Returns:
- The parser
- Throws:
com.atlassian.plugin.PluginParseException
-
getInstance
public com.atlassian.plugin.parsers.DescriptorParser getInstance(InputStream source, Iterable<InputStream> supplementalSources, Set<com.atlassian.plugin.Application> applications) Gets an instance that filters the modules "component", "component-import", "module-type", "bean", and "spring"- Specified by:
getInstancein interfacecom.atlassian.plugin.parsers.CompositeDescriptorParserFactory- Parameters:
source- The descriptor sourcesupplementalSources- extra sources describing modules- Returns:
- The parser
- Throws:
com.atlassian.plugin.PluginParseException- Since:
- 3.2.16
-