You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Oliver Heger (JIRA)" <ji...@apache.org> on 2013/09/07 21:56:51 UTC

[jira] [Resolved] (CONFIGURATION-554) Make BeanHelper an instantiable class

     [ https://issues.apache.org/jira/browse/CONFIGURATION-554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oliver Heger resolved CONFIGURATION-554.
----------------------------------------

    Resolution: Fixed

Fixed in revision 1520802. The user's guide was updated accordingly.
                
> 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