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

Add support for constructor invocation in bean declarations

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.9
    • Fix Version/s: 2.0
    • Component/s: None
    • Labels:
      None

      Description

      Currently it is possible to declare simple beans in configuration files. These beans are created using a standard constructor; then properties can be set. This functionality is used internally (mainly by DefaultConfigurationBuilder), but is provided to client code as well.

      When the library design goes more in the direction of immutable objects it will be necessary to support constructor invocation as well. I expect that this will be required for a new version of DefaultConfigurationBuilder, so it makes sense to implement this feature.

        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: