org.pentaho.platform.plugin.services.pluginmgr
Class SystemPathXmlPluginProvider
java.lang.Object
org.pentaho.platform.plugin.services.pluginmgr.SystemPathXmlPluginProvider
- All Implemented Interfaces:
- IPluginProvider
- Direct Known Subclasses:
- FileSystemXmlPluginProvider
public class SystemPathXmlPluginProvider
- extends Object
- implements IPluginProvider
An implmentation of IPluginProvider
that searches for plugin.xml files in the Pentaho
system path and instantiates IPlatformPlugin
s from the information in those files.
- Author:
- aphillips
SystemPathXmlPluginProvider
public SystemPathXmlPluginProvider()
getPlugins
public List<IPlatformPlugin> getPlugins(IPentahoSession session)
throws PlatformPluginRegistrationException
- Gets the list of plugins that this provider class has discovered.
- Specified by:
getPlugins
in interface IPluginProvider
- Parameters:
session
- the current session
- Returns:
- an read-only list of plugins
- Throws:
PlatformPluginRegistrationException
- if there is a problem preventing the impl from looking for plugins- See Also:
IPluginProvider#getPlugins()