org.pentaho.di.core.config
Class DigesterConfigManager<T>

java.lang.Object
  extended by org.pentaho.di.core.config.BasicConfigManager<T>
      extended by 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

Constructor Summary
DigesterConfigManager()
           
 
Method Summary
 Collection<T> load()
          Loads the configuration parameters by delegating to commons digester.
 
Methods inherited from class org.pentaho.di.core.config.BasicConfigManager
getId, loadAs, setId
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DigesterConfigManager

public DigesterConfigManager()
Method Detail

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.