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] [Resolved] (CONFIGURATION-554) Make BeanHelper an instantiable class
Date Sat, 07 Sep 2013 19:56:51 GMT

     [ 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

Mime
View raw message