public interface IPluginProvider
IPlatformPlugin
s to whoever is asking, typically
IPluginManager
. 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 implement
IPluginProvider
.Modifier and Type | Method and Description |
---|---|
List<IPlatformPlugin> |
getPlugins(IPentahoSession session)
Returns a list of
IPlatformPlugin s defined by this plugin provider. |
List<IPlatformPlugin> getPlugins(IPentahoSession session) throws PlatformPluginRegistrationException
IPlatformPlugin
s defined by this plugin provider. These plugins have not been
initialized or registered within the platform at this point.session
- the current sessionPlatformPluginRegistrationException
- if there is a problem looking for plugins