org.pentaho.di.core.config
Class DigesterConfigManager<T>
java.lang.Object
org.pentaho.di.core.config.BasicConfigManager<T>
org.pentaho.di.core.config.DigesterConfigManager<T>
- Type Parameters:
T
-
- All Implemented Interfaces:
- ConfigManager<T>
public class DigesterConfigManager<T>
- extends BasicConfigManager<T>
A custom ConfigManager
implementation to load configuration
parameters from XML files using commons-digester.
Injection:
Three fields are injected: rulesURL, configURL and setNext. The values from
these fields are read from kettle-config.xml, as follows:
org.pentaho.di.core.config.DigesterConfigParameters
- Author:
- Alex Silva
Method Summary |
Collection<T> |
load()
Loads the configuration parameters by delegating to commons digester. |
DigesterConfigManager
public DigesterConfigManager()
load
public Collection<T> load()
throws org.pentaho.di.core.exception.KettleConfigException
- Loads the configuration parameters by delegating to commons digester.
- Returns:
- A collection containing the parameters
- Throws:
org.pentaho.di.core.exception.KettleConfigException
- If an error occurs during load.