commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "thomas peter" <tho...@braindumped.com>
Subject [configuration] loading xml-file via configurationFactory
Date Mon, 29 May 2006 14:58:10 GMT
I looked in the online-doku, but didn't find the info that fitts to my
problem.
how do i get a configuration out of multiple files, configured in only
one file?

i'd like to have a config.xml where all other needed configuration files
are listes in:

<configuration>
  <system/>
  <properties fileName="application.properties"/>
  <xmlfile fileName="component1.xml"/>
  <xmlfile fileName="component2.xml"/>
</configuration>

when reading the above xml-file with creating a new
ConfigurationFactory("config.xml")
and then calling the .getConfoguration method, i only get a configuration
object, but not a XMLConfiguration-Object.

did i understand things wrong and loading of property files via
configurationFactory has no equivalent handling for xml-files?

thanx in advance,
thomas

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message