Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
scr-1.2.0
-
None
Description
When a component factory becomes unsatisifed, it must be deactivated and switch to the UNSATISIFED state until it becomes satisifed again. Currently this does not happen because the component factory does not really bind to the references but the DependencyManager.serviceRemoved method only may deactivate a component if the unregistering service is actually bound.
The serviceRemoved method must be enhanced to also check whether a component is becoming unsatisifed even in this case.