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