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

Make BeanHelper an instantiable class

    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, BeanHelper is a static utility class. It has some state (e.g. the default BeanFactory) which is therefore (more or less) globally shared. As mentioned in CONFIGURATION-486, this approach is thread-hostile.

      The topic was discussed on the ML (http://markmail.org/thread/abgze5qj34sjcflp) with the conclusion to make BeanHelper a regular bean class. Thus multiple instances can be created with their own specific configuration. It is still possible to have a shared default instance, e.g. by defining a constant field.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: