commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oliver Heger <oliver.he...@oliver-heger.de>
Subject [configuration] Defining variable resolvers in configuration definition files
Date Tue, 25 Dec 2012 20:27:08 GMT
Hi all,

currently I am working on [CONFIGURATION-518] - rework of interpolation 
features.

DefaultConfigurationBuilder supports that custom variable resolvers can 
be defined in its definition files. I noticed that these resolvers are 
not only used locally, but are also registered as global lookup objects. 
I think, this behavior is pretty invasive, and it does not seem to be 
documented (at least not in the Javadocs of 
DefaultConfigurationBuilder). This seems to be a workaround for making 
such custom resolvers available to other objects (e.g. 
ConfigurationInterpolator objects in DynamicCombinedConfiguration).

I temporarily disabled this mechanism (and had to @Ignore 4 test cases 
which now are failing). I hope to find a better solution based on the 
builders approach I am working on in parallel. In this context, I also 
plan to have a more generic mechanism to define default settings for 
newly created Configuration objects.

Oliver

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


Mime
View raw message