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-554) Make BeanHelper an instantiable class
Date Fri, 06 Sep 2013 19:40:51 GMT
Oliver Heger created CONFIGURATION-554:
------------------------------------------

             Summary: Make BeanHelper an instantiable class
                 Key: CONFIGURATION-554
                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-554
             Project: Commons Configuration
          Issue Type: Improvement
    Affects Versions: 1.9
            Reporter: Oliver Heger
             Fix For: 2.0


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message