com.atlassian.plugin.osgi.factory
Class OsgiPluginXmlDescriptorParserFactory

java.lang.Object
  extended by com.atlassian.plugin.osgi.factory.OsgiPluginXmlDescriptorParserFactory
All Implemented Interfaces:
DescriptorParserFactory

public class OsgiPluginXmlDescriptorParserFactory
extends Object
implements DescriptorParserFactory

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

Since:
2.1.2

Constructor Summary
OsgiPluginXmlDescriptorParserFactory()
           
 
Method Summary
 DescriptorParser getInstance(InputStream source, String... applicationKeys)
          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
 

Constructor Detail

OsgiPluginXmlDescriptorParserFactory

public OsgiPluginXmlDescriptorParserFactory()
Method Detail

getInstance

public DescriptorParser getInstance(InputStream source,
                                    String... applicationKeys)
                             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 source
Returns:
The parser
Throws:
PluginParseException


Copyright © 2012 Atlassian. All Rights Reserved.