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=34103>. 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=34103 ------- Additional Comments From [EMAIL PROTECTED] 2005-03-23 08:03 ------- (In reply to comment #12) Do the beanutils converters really provide all features we would need? E.g. I am missing stuff like Collection -> XXX array. After having slept a night over this problem I think that your suggestion could be easily implemented on top of the Configuration API. Create a new class ConverterConfiguration or whatever that may or may not be a Configuration decorator, but hold a reference to an original Configuration. In your proposed methods call the original Configuration's getProperty() method and act on the result as appropriate, e.g. perform type conversions. I would see this new class as an addition or maybe as a replacement for DataConfiguration. This would have the advantage that the core API needn't be changed and no additional dependency for a converter framework needs to be added. Users who can live with the provided standard data types just use a simple Configuration, others make use of the extended conversion features. And another word about throwing exceptions on missing properties: I am quite sure that we simply cannot change the current semantics now. If we did this, after an update to the new Configuration version a major part of the applications that use this API is likely to crash with unexpected exceptions being thrown. That won't make us any new friends... -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]