commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Schaible <>
Subject RE: [configuration] New hierarchical configurations
Date Mon, 10 Mar 2008 08:00:02 GMT
Oliver Heger wrote:
> I have added new hierarchical configuration implementations
> based on the
> node handler approach.
> There is now a new AbstractHierarchicalConfiguration<T> class
> providing basic functionality for dealing with hierarchical
> structures. 
> Derived from that is InMemoryConfiguration, which is almost equivalent
> to HierarchicalConfiguration. The new SubConfiguration class is the
> counterpart to SubnodeConfiguration.
> I copied the tests from the HierarchicalConfiguration, and they run
> successful for the new configuration class. There are minor
> differences in the handling of attributes: I decided not to allow
> multiple values for an attribute as was possible for
> HierarchicalConfiguration as part
> of the list handling functionality. IMO this was rather
> confusing than
> helpful. Obviously these differences are not covered by the
> unit tests.
> Next steps are further configuration implementations based on the new
> classes. I will do some experiments with XMLConfiguration and a new
> preferences configuration class.
> We can decide how to deal with the old classes. We could completely
> replace them with the new ones or deprecate them only.

For a major (incompatible) release 2.0 ... replace them. No need to burden ourselves with
old code maintenance. Get rid of old stuff as soon as possible.

- Jörg

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message