EasyConf supports the usage of variables inside the XML files. The variables permit access to any of the component properties. For example if you have the following properties file:
db.type=mysql db.url=jdbc:mysql://localhost/testdb
You could write in the XML file:
<sources> <database-source url="${db.url}" type="${db.type"/> </sources>
The properties values can be specified using any of the methods described in this manual. It is recommended to give them a default value in the component base file (for example my-component.properties). But you can override this value in included files, the global-configuration-properties file or using system properties.