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 Re: [configuration] New hierarchical configurations
Date Sat, 12 Apr 2008 14:36:00 GMT
Emmanuel Bourg wrote:
> Oliver Heger a écrit :
> 
>>> XMLConfiguration and XMLPropertiesConfiguration remain in the main
>>> package. 
>>
>> Why?
> 
> 
> The purpose of the package is to group only the SAX readers as they form
> a hierarchy providing a specific feature, just like the BeanUtils bridge
> in the beanutils package. I don't know if these classes are frequently
> used, actually I don't know the use cases for these readers. As a non
> core feature I don't think they deserve to remain in the main package.
> 
> I don't think moving the XMLConfiguration and XMLPropertiesConfiguration
> classes in an xml package is necessary, I don't have any problem with
> them staying in the main package. Also, that would not make sense to
> move them but not XMLPropertyListConfiguration in the plist package, and
> having XMLPropertyListConfiguration outside the plist package seems
> absurds too.
> 
> Emmanuel Bourg
> 
The main reason for the restructuring of the packages was to increase
modularity, which is especially important in environments like OSGi
where you have fine control over the packages to import. An "all
configurations in the main package" approach won't help here.

Oliver

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


Mime
View raw message