Uploaded image for project: 'Commons Configuration'
  1. Commons Configuration
  2. CONFIGURATION-575

Use immutable node structures in hierarchical configurations

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.9
    • 2.0
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            oheger Oliver Heger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: