public class SystemPathXmlPluginProvider extends Object implements IPluginProvider
IPluginProvider
that searches for plugin.xml files in the Pentaho system path and
instantiates IPlatformPlugin
s from the information in those files.Constructor and Description |
---|
SystemPathXmlPluginProvider() |
Modifier and Type | Method and Description |
---|---|
protected PlatformPlugin |
createPlugin(org.dom4j.Document doc,
IPentahoSession session,
String folder,
boolean hasLib) |
List<IPlatformPlugin> |
getPlugins(IPentahoSession session)
Gets the list of plugins that this provider class has discovered.
|
protected void |
processBeans(PlatformPlugin plugin,
org.dom4j.Document doc) |
protected void |
processContentGenerators(PlatformPlugin plugin,
org.dom4j.Document doc,
IPentahoSession session,
String folder,
boolean hasLib) |
protected void |
processContentTypes(PlatformPlugin plugin,
org.dom4j.Document doc,
IPentahoSession session) |
protected void |
processDirectory(List<IPlatformPlugin> plugins,
File folder,
IPentahoSession session) |
protected void |
processExternalResources(PlatformPlugin plugin,
org.dom4j.Document doc) |
protected void |
processLifecycleListeners(PlatformPlugin plugin,
org.dom4j.Document doc) |
static org.pentaho.ui.xul.impl.DefaultXulOverlay |
processOverlay(org.dom4j.Element node) |
protected void |
processOverlays(PlatformPlugin plugin,
org.dom4j.Document doc,
IPentahoSession session) |
protected void |
processPerspectives(PlatformPlugin plugin,
org.dom4j.Document doc) |
protected void |
processPluginInfo(PlatformPlugin plugin,
org.dom4j.Document doc,
String folder,
IPentahoSession session) |
protected void |
processStaticResourcePaths(PlatformPlugin plugin,
org.dom4j.Document doc,
IPentahoSession session) |
protected void |
processWebservices(PlatformPlugin plugin,
org.dom4j.Document doc) |
public List<IPlatformPlugin> getPlugins(IPentahoSession session) throws PlatformPluginRegistrationException
getPlugins
in interface IPluginProvider
PlatformPluginRegistrationException
- if there is a problem preventing the impl from looking for pluginsIPluginProvider#getPlugins()
protected void processDirectory(List<IPlatformPlugin> plugins, File folder, IPentahoSession session) throws PlatformPluginRegistrationException
protected PlatformPlugin createPlugin(org.dom4j.Document doc, IPentahoSession session, String folder, boolean hasLib)
protected void processPerspectives(PlatformPlugin plugin, org.dom4j.Document doc)
plugin
- doc
- protected void processStaticResourcePaths(PlatformPlugin plugin, org.dom4j.Document doc, IPentahoSession session)
protected void processExternalResources(PlatformPlugin plugin, org.dom4j.Document doc)
protected void processLifecycleListeners(PlatformPlugin plugin, org.dom4j.Document doc)
protected void processBeans(PlatformPlugin plugin, org.dom4j.Document doc)
protected void processWebservices(PlatformPlugin plugin, org.dom4j.Document doc)
protected void processPluginInfo(PlatformPlugin plugin, org.dom4j.Document doc, String folder, IPentahoSession session)
protected void processOverlays(PlatformPlugin plugin, org.dom4j.Document doc, IPentahoSession session)
public static org.pentaho.ui.xul.impl.DefaultXulOverlay processOverlay(org.dom4j.Element node)
protected void processContentTypes(PlatformPlugin plugin, org.dom4j.Document doc, IPentahoSession session)
protected void processContentGenerators(PlatformPlugin plugin, org.dom4j.Document doc, IPentahoSession session, String folder, boolean hasLib)
Copyright © 2017 Hitachi Vantara. All rights reserved.