public class SystemPathXmlPluginProvider extends Object implements org.pentaho.platform.api.engine.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,
org.pentaho.platform.api.engine.IPentahoSession session,
String folder,
boolean hasLib) |
List<org.pentaho.platform.api.engine.IPlatformPlugin> |
getPlugins(org.pentaho.platform.api.engine.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,
org.pentaho.platform.api.engine.IPentahoSession session,
String folder,
boolean hasLib) |
protected void |
processContentTypes(PlatformPlugin plugin,
org.dom4j.Document doc,
org.pentaho.platform.api.engine.IPentahoSession session) |
protected void |
processCsrfProtection(PlatformPlugin plugin,
org.dom4j.Document doc) |
protected void |
processDirectory(List<org.pentaho.platform.api.engine.IPlatformPlugin> plugins,
File folder,
org.pentaho.platform.api.engine.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,
org.pentaho.platform.api.engine.IPentahoSession session) |
protected void |
processPerspectives(PlatformPlugin plugin,
org.dom4j.Document doc) |
protected void |
processPluginInfo(PlatformPlugin plugin,
org.dom4j.Document doc,
String folder,
org.pentaho.platform.api.engine.IPentahoSession session) |
protected void |
processStaticResourcePaths(PlatformPlugin plugin,
org.dom4j.Document doc,
org.pentaho.platform.api.engine.IPentahoSession session) |
protected void |
processWebservices(PlatformPlugin plugin,
org.dom4j.Document doc) |
public List<org.pentaho.platform.api.engine.IPlatformPlugin> getPlugins(org.pentaho.platform.api.engine.IPentahoSession session) throws org.pentaho.platform.api.engine.PlatformPluginRegistrationException
getPlugins
in interface org.pentaho.platform.api.engine.IPluginProvider
org.pentaho.platform.api.engine.PlatformPluginRegistrationException
- if there is a problem preventing the impl from looking for pluginsIPluginProvider#getPlugins()
protected void processDirectory(List<org.pentaho.platform.api.engine.IPlatformPlugin> plugins, File folder, org.pentaho.platform.api.engine.IPentahoSession session) throws org.pentaho.platform.api.engine.PlatformPluginRegistrationException
org.pentaho.platform.api.engine.PlatformPluginRegistrationException
protected PlatformPlugin createPlugin(org.dom4j.Document doc, org.pentaho.platform.api.engine.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, org.pentaho.platform.api.engine.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, org.pentaho.platform.api.engine.IPentahoSession session)
protected void processOverlays(PlatformPlugin plugin, org.dom4j.Document doc, org.pentaho.platform.api.engine.IPentahoSession session)
public static org.pentaho.ui.xul.impl.DefaultXulOverlay processOverlay(org.dom4j.Element node)
protected void processContentTypes(PlatformPlugin plugin, org.dom4j.Document doc, org.pentaho.platform.api.engine.IPentahoSession session)
protected void processContentGenerators(PlatformPlugin plugin, org.dom4j.Document doc, org.pentaho.platform.api.engine.IPentahoSession session, String folder, boolean hasLib)
protected void processCsrfProtection(PlatformPlugin plugin, org.dom4j.Document doc)
Copyright © 2021 Hitachi Vantara. All rights reserved.