You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Felix Meschberger (Created) (JIRA)" <ji...@apache.org> on 2012/01/30 16:58:10 UTC

[jira] [Created] (FELIX-3327) Gracefully handle Configuration access after Configuration Admin Service has terminated

Gracefully handle Configuration access after Configuration Admin Service has terminated
---------------------------------------------------------------------------------------

                 Key: FELIX-3327
                 URL: https://issues.apache.org/jira/browse/FELIX-3327
             Project: Felix
          Issue Type: Improvement
          Components: Configuration Admin
    Affects Versions:  configadmin-1.2.8
            Reporter: Felix Meschberger
            Assignee: Felix Meschberger
             Fix For: configadmin-1.4.0


When accessing Configuration objects after the Configuration Admin service supplying the Configuration has been unregistered/stopped, all kinds of exceptions may be thrown. This should be cleaned such that defined and controlled exceptions are thrown:

   * getPid, getFactoryPid, and getProperties just operate as before. They don't need live Configuration Admin access
   * getBundleLocation, setBundleLocation, update (both methods), and delete throw IllegalStateException

This is not required by the spec (in fact the spec remains silent about this case) but is ok.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (FELIX-3327) Gracefully handle Configuration access after Configuration Admin Service has terminated

Posted by "Felix Meschberger (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-3327?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger resolved FELIX-3327.
--------------------------------------

    Resolution: Fixed

Fixed in Rev. 1238185
                
> Gracefully handle Configuration access after Configuration Admin Service has terminated
> ---------------------------------------------------------------------------------------
>
>                 Key: FELIX-3327
>                 URL: https://issues.apache.org/jira/browse/FELIX-3327
>             Project: Felix
>          Issue Type: Improvement
>          Components: Configuration Admin
>    Affects Versions:  configadmin-1.2.8
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: configadmin-1.4.0
>
>
> When accessing Configuration objects after the Configuration Admin service supplying the Configuration has been unregistered/stopped, all kinds of exceptions may be thrown. This should be cleaned such that defined and controlled exceptions are thrown:
>    * getPid, getFactoryPid, and getProperties just operate as before. They don't need live Configuration Admin access
>    * getBundleLocation, setBundleLocation, update (both methods), and delete throw IllegalStateException
> This is not required by the spec (in fact the spec remains silent about this case) but is ok.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira