commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Schaible <Joerg.Schai...@Elsag-Solutions.com>
Subject RE: [Configuration] Standard DOM ?
Date Wed, 03 Mar 2004 13:35:17 GMT
Emmanuel Bourg wrote on Wednesday, March 03, 2004 2:22 PM:

> Jörg Schaible wrote:
> 
>> Well, this is not what I would like to have, again because of the
>> dom4j dependency. I already have a
> HierarchicalDOMConfiguration that
>> is based on the w3c classes only. I just took the code from
>> HierarchicalDOM4JConfiguration and replaced the relevant parts. The
>> same could be done for a DOMConfiguration. To complete the DOM
>> support a <dom> tag could be supported by the factory. Also the
>> factory could be refactored so that the most functionality is in an
>> abstract base class and the derived classes would add the supported
>> tags. ConfigurationFactory would support anything contained in the
>> configuration package (= backward compatibility) and the user could
>> create his own factory with the elements he would like to use (and
>> their dependencies). Additionally this would allow user-defined
>> Configuration classes or the support of DatabaseConfiguration in the
>> factory. 
>> 
>> What do you think?
> 
> I don't know the motivations for using DOM4J, but using the standard
> interfaces and removing a dependency is certainly interesting.
> 
> A pluggable extension mechanism for the ConfigurationFactory would be
> nice too. 

Do I have to consider something else concerning submission/donation of the code?

Regards,
Jörg

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


Mime
View raw message