Re: [configuration] New hierarchical configurations

2008-04-14 Thread Oliver Heger
Emmanuel Bourg schrieb: Oliver Heger a écrit : 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

Re: [configuration] New hierarchical configurations

2008-04-13 Thread Emmanuel Bourg
Oliver Heger a écrit : 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. By "in

Re: [configuration] New hierarchical configurations

2008-04-12 Thread Oliver Heger
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 brid

Re: [configuration] New hierarchical configurations

2008-04-10 Thread Emmanuel Bourg
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 i

Re: [configuration] New hierarchical configurations

2008-04-09 Thread Oliver Heger
Emmanuel Bourg schrieb: Oliver Heger a écrit : Would XMLConfiguration also go into this package? XMLConfiguration and XMLPropertiesConfiguration remain in the main package. Why? Oliver In this regard the package name o.a.c.c.sax would make more sense. Emmanuel Bourg -

Re: [configuration] New hierarchical configurations

2008-04-09 Thread Emmanuel Bourg
Oliver Heger a écrit : Would XMLConfiguration also go into this package? XMLConfiguration and XMLPropertiesConfiguration remain in the main package. In this regard the package name o.a.c.c.sax would make more sense. Emmanuel Bourg ---

Re: [configuration] New hierarchical configurations

2008-04-09 Thread Oliver Heger
Emmanuel Bourg schrieb: Oliver Heger a écrit : I would like to keep main package pretty small, so that it only contains the basic interfaces and abstract base classes. Sub packages would group classes with similar functionality. The plist and web packages are good examples for that, but I am

Re: [configuration] New hierarchical configurations

2008-04-09 Thread Emmanuel Bourg
Oliver Heger a écrit : I would like to keep main package pretty small, so that it only contains the basic interfaces and abstract base classes. Sub packages would group classes with similar functionality. The plist and web packages are good examples for that, but I am not sure how to handle

Re: [configuration] New hierarchical configurations

2008-04-06 Thread Emmanuel Bourg
Oliver Heger a écrit : Sub packages would group classes with similar functionality. The plist and web packages are good examples for that, but I am not sure how to handle specific implementations consisting of only one or two classes (e.g. INIConfiguration). Putting them in their own package pr

Re: [configuration] New hierarchical configurations

2008-04-05 Thread Oliver Heger
Emmanuel Bourg schrieb: +1 for removing the old configurations, otherwise that would be confusing for the users. Regarding the package structure do you have other plans besides the 'flat' package ? I would like to keep main package pretty small, so that it only contains the basic interfaces

Re: [configuration] New hierarchical configurations

2008-04-05 Thread Emmanuel Bourg
+1 for removing the old configurations, otherwise that would be confusing for the users. Regarding the package structure do you have other plans besides the 'flat' package ? Emmanuel Bourg Agreed. After refactoring of the hierarchical file-based configurations is complete, it shows that t

RE: [configuration] New hierarchical configurations

2008-03-25 Thread Jörg Schaible
Oliver Heger wrote: [snip] < about the naming: If all our configurations are hierarchical (at least > this is the plan currently), there does not seem to be much point in > calling a concrete implementation > "HierarchicalConfiguration". Therefore > I used the name "InMemoryConfiguration" for the r

Re: [configuration] New hierarchical configurations

2008-03-23 Thread Oliver Heger
Jörg Schaible wrote: > Oliver Heger wrote: > >>I have added new hierarchical configuration implementations >>based on the >>node handler approach. >> >>There is now a new AbstractHierarchicalConfiguration class >>providing basic functionality for dealing with hierarchical >>structures. >> >>Deriv

RE: [configuration] New hierarchical configurations

2008-03-10 Thread Jörg Schaible
Oliver Heger wrote: > I have added new hierarchical configuration implementations > based on the > node handler approach. > > There is now a new AbstractHierarchicalConfiguration class > providing basic functionality for dealing with hierarchical > structures. > > Derived from that is InMemoryCo

[configuration] New hierarchical configurations

2008-03-08 Thread Oliver Heger
I have added new hierarchical configuration implementations based on the node handler approach. There is now a new AbstractHierarchicalConfiguration class providing basic functionality for dealing with hierarchical structures. Derived from that is InMemoryConfiguration, which is almost equiva