org.pentaho.platform.plugin.services.pluginmgr
Class SystemPathXmlPluginProvider

java.lang.Object
  extended by 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 IPlatformPlugins from the information in those files.

Author:
aphillips

Constructor Summary
SystemPathXmlPluginProvider()
           
 
Method Summary
 List<IPlatformPlugin> getPlugins(IPentahoSession session)
          Gets the list of plugins that this provider class has discovered.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemPathXmlPluginProvider

public SystemPathXmlPluginProvider()
Method Detail

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()