public class

OsgiPluginXmlDescriptorParserFactory

extends Object
implements DescriptorParserFactory
java.lang.Object
   ↳ com.atlassian.plugin.osgi.factory.OsgiPluginXmlDescriptorParserFactory

Class Overview

Descriptor parser factory that creates parsers for Osgi plugins. Must only be used with OsgiPlugin instances.

Summary

Public Constructors
OsgiPluginXmlDescriptorParserFactory()
Public Methods
DescriptorParser getInstance(InputStream source, String... applicationKeys)
Gets an instance that filters the modules "component", "component-import", "module-type", "bean", and "spring"
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.plugin.parsers.DescriptorParserFactory

Public Constructors

public OsgiPluginXmlDescriptorParserFactory ()

Public Methods

public DescriptorParser getInstance (InputStream source, String... applicationKeys)

Gets an instance that filters the modules "component", "component-import", "module-type", "bean", and "spring"

Parameters
source The descriptor source
applicationKeys The list of application keys to match for module descriptors
Returns
  • The parser