org.pentaho.di.core.plugins
Class PluginLoader
java.lang.Object
org.pentaho.di.core.plugins.PluginLoader
public class PluginLoader
- extends Object
This class handles all plugin loading steps for Kettle/PDI. It uses the
ConfigManager class to load PluginConfig
objects, which
contain all the location from where the plugin should be loaded.
Plugins are configured by modifying the kettle-plugins.xml file.
- Author:
- Alex Silva
- See Also:
PluginLocation
,
JobEntryLoader
DEFAULT_LIB
public static final String DEFAULT_LIB
- See Also:
- Constant Field Values
getInstance
public static PluginLoader getInstance()
load
public void load(String mgr)
throws org.pentaho.di.core.exception.KettleConfigException
- Loads all plugins identified by the string passed. This method can be
called multiple times with different managers.
- Parameters:
mgr
- The manager id, as defined in kettle-config.xml.
- Throws:
org.pentaho.di.core.exception.KettleConfigException
getDefinedPlugins
public <E extends org.pentaho.di.core.plugins.Plugin> Collection<E> getDefinedPlugins(Class<E> pluginType)
throws org.pentaho.di.core.exception.KettleConfigException
- Throws:
org.pentaho.di.core.exception.KettleConfigException