Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
scr-1.0.8, scr-1.2.0
-
None
Description
The Declarative Service specification Section 112.5.4, Delayed Component, demands that component configurations of delayed which are not used anymore have to be deactivated:
If the service registered by a component configuration becomes unused
because there are no more bundles using it, then SCR should deactivate that
component configuration. This allows SCR implementations to eagerly
reclaim activated component configurations.
Currently only component instances created for service factory components are reclaimed when they are not used anymore. Instances of delayed components are not reclaimed at the moment.