commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Heger (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CONFIGURATION-575) Use immutable node structures in hierarchical configurations
Date Sun, 20 Apr 2014 19:17:14 GMT
Oliver Heger created CONFIGURATION-575:
------------------------------------------

             Summary: Use immutable node structures in hierarchical configurations
                 Key: CONFIGURATION-575
                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-575
             Project: Commons Configuration
          Issue Type: Improvement
    Affects Versions: 1.9
            Reporter: Oliver Heger
             Fix For: 2.0


Currently, hierarchical configurations use {{ConfigurationNode}} objects to represent their
hierarchical node structures. These objects are mutable; there are set methods for altering
node names, values, children, attributes, and more. This is problematic for various reasons:
* Client code can alter the structure directly circumventing mechanisms of the configuration
object.
* In a multi-threaded environment all accesses have to be synchronized because one cannot
be sure when an underlying structure is modified.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message