Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
configadmin-1.2.8
-
None
Description
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.