|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.plugin.parsers.XmlDescriptorParser
com.atlassian.plugin.osgi.factory.OsgiPluginXmlDescriptorParser
public class OsgiPluginXmlDescriptorParser
Descriptor parser that handles special tasks for osgi plugins such as recording the
originating module descriptor elements. Must only be used with OsgiPlugin instances.
| Constructor Summary | |
|---|---|
OsgiPluginXmlDescriptorParser(java.io.InputStream source,
java.util.Set<Application> applications)
|
|
| Method Summary | |
|---|---|
protected ModuleDescriptor<?> |
createModuleDescriptor(Plugin plugin,
org.dom4j.Element element,
ModuleDescriptorFactory moduleDescriptorFactory)
Passes module descriptor elements back to the OsgiPlugin |
| Methods inherited from class com.atlassian.plugin.parsers.XmlDescriptorParser |
|---|
configurePlugin, createDocument, createPluginInformation, getDocument, getKey, getPluginInformation, getPluginsVersion, isSystemPlugin |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OsgiPluginXmlDescriptorParser(java.io.InputStream source,
java.util.Set<Application> applications)
throws PluginParseException
source - The XML descriptor sourceapplications - The application keys to limit modules to, null for only unspecified
PluginParseException - if there is a problem reading the descriptor from the XML InputStream.| Method Detail |
|---|
protected ModuleDescriptor<?> createModuleDescriptor(Plugin plugin,
org.dom4j.Element element,
ModuleDescriptorFactory moduleDescriptorFactory)
throws PluginParseException
OsgiPlugin
createModuleDescriptor in class XmlDescriptorParserplugin - The pluginelement - The module elementmoduleDescriptorFactory - The module descriptor factory
PluginParseException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||