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 2012/11/04 20:50:11 UTC

[jira] [Created] (CONFIGURATION-512) Add support for immutable configurations

Oliver Heger created CONFIGURATION-512:
------------------------------------------

             Summary: Add support for immutable configurations
                 Key: CONFIGURATION-512
                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-512
             Project: Commons Configuration
          Issue Type: New Feature
    Affects Versions: 1.9
            Reporter: Oliver Heger


The {{Configuration}} interface allows manipulating configuration objects. There are use cases in which it is not necessary or even forbidden to change the content of a Configuration. To support such use cases, a new interface {{ImmutableConfiguration}} should be introduced which allows only querying of configuration data. In addition, it should be possible to transform a mutable configuration into an immutable one.

--
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

[jira] [Resolved] (CONFIGURATION-512) Add support for immutable configurations

Posted by "Oliver Heger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CONFIGURATION-512?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oliver Heger resolved CONFIGURATION-512.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0

Interfaces for immutable configurations have been introduced. There are methods named {{unmodifiableConfiguration()}} in {{ConfigurationUtils}} which allow creating an immutable view of a regular configuration object.
                
> Add support for immutable configurations
> ----------------------------------------
>
>                 Key: CONFIGURATION-512
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-512
>             Project: Commons Configuration
>          Issue Type: New Feature
>    Affects Versions: 1.9
>            Reporter: Oliver Heger
>             Fix For: 2.0
>
>
> The {{Configuration}} interface allows manipulating configuration objects. There are use cases in which it is not necessary or even forbidden to change the content of a Configuration. To support such use cases, a new interface {{ImmutableConfiguration}} should be introduced which allows only querying of configuration data. In addition, it should be possible to transform a mutable configuration into an immutable one.

--
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