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

Use immutable node structures in hierarchical configurations

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.9
    • Fix Version/s: 2.0
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: