Class ConfigurationDigester

java.lang.Object
org.frankframework.configuration.ConfigurationDigester
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

public class ConfigurationDigester extends Object implements org.springframework.context.ApplicationContextAware
The configurationDigester reads the configuration.xml and the digester rules in XML format and factors a Configuration.

Since 4.0.1, the configuration.xml is first resolved using the resolver, with tries to resolve ${variable} with the AppConstants, so that both the values from the property files as the environment setting are available.

Since 4.1.1 the configuration.xml is parsed with a entityresolver that uses the classpath, which means that you may specify entities that will be resolved during parsing.

Example:
 <?xml version="1.0"?>
 <!DOCTYPE configuration
 [
 <!ENTITY HelloWorld SYSTEM "./ConfigurationHelloWorld.xml">
 ]>

 <configuration name="HelloWorld">

 &HelloWorld;

 </configuration>
 
Author:
Johan Verrips
See Also: