Package org.pentaho.platform.api.engine
Interface IPluginProvider
-
public interface IPluginProvider
A plugin provider is responsible for serving upIPlatformPlugin
s to whoever is asking, typicallyIPluginManager
. The plugin provider is not responsible for integrating the plugins into the platform. It's only role is to render plugin definitions,IPlatformPlugin
s. A plugin provider might load plugin definitions from an xml file, or a properties file. You might also create a plugin provider that creates plugins programmatically. It won't matter what mechanism you use to define your plugins so long as you implementIPluginProvider
.- Author:
- aphillips
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<IPlatformPlugin>
getPlugins(IPentahoSession session)
Returns a list ofIPlatformPlugin
s defined by this plugin provider.
-
-
-
Method Detail
-
getPlugins
List<IPlatformPlugin> getPlugins(IPentahoSession session) throws PlatformPluginRegistrationException
Returns a list ofIPlatformPlugin
s defined by this plugin provider. These plugins have not been initialized or registered within the platform at this point.- Parameters:
session
- the current session- Returns:
- a list of platform plugins
- Throws:
PlatformPluginRegistrationException
- if there is a problem looking for plugins
-
-