- remove the namespace handling
- make ConfigurationFactory implement FileConfiguration (it already has the set/getBasePath() and setGetFileName() methods, load() is easy to implement with the current code and there is no need to implement save() since it's read only)
- add a <composite> element to load another composite configuration descriptor
- not sure about this one, but ConfigurationFactory and CompositeConfiguration could maybe be merged...
Emmanuel Bourg
Eric Pugh wrote:
Simplicity I think is always a good idea.. I don't use it.. I will say, I am not too keen on the ConfiguraitonFactory anyway... I think I made a hash of things when first writing it...
Eric
-----Original Message----- From: Emmanuel Bourg [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 20, 2004 3:52 PM To: Jakarta Commons Developers List Subject: [configuration] ConfigurationFactory & namespaces
While reviewing ConfigurationFactory I stumbled on the namespace logic, may I ask who is actually using it ? It looks like an unnecessary complexity to me, imho it's easier to have several configuration descriptors rather than a single namespaced descriptor.
What do you think ?
Emmanuel Bourg
smime.p7s
Description: S/MIME Cryptographic Signature
