DO NOT REPLY [Bug 35116] - [configuration] Enhancement of interpolation features

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

DO NOT REPLY [Bug 35116] - [configuration] Enhancement of interpolation features

Bugzilla from bugzilla@apache.org
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG?
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=35116>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND?
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35116





------- Additional Comments From [hidden email]  2005-06-12 20:38 -------
Created an attachment (id=15382)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=15382&action=view)
Implementation of enhanced interpolation features

This patch enables AbstractConfiguration to make use of an associated
Interpolator object for performing interpolation not only on String properties
but also on other data types and lists. By setting the Interpolator to null it
is possible to disable interpolation completely.

Backwards compatibility is maintained as much as possible, even in the way
protected methods are called. Only exception is the interpolateHelper() method,
which won't be called any more and was marked as deprecated.

I had to slightly modify the setter method for indexed properties in
ConfigurationDynaBean due to a failing unit test. But after that all tests
pass.

Because this patch includes modifications at a core class I would appreciate
comments by others before I commit it. Thanks.

--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]