Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
scr-1.6.0
-
None
Description
cf FELIX-3377.
The point of this feature is to let a component respond to changes in its environment by changing its service properties. One of the obvious environment changes is for a dynamic service to be bound or unbound while the component is active. Therefore we should extend the "return a map" style to the bind/unbind/updated method.
A simple use case I thought of.... suppose you have a service with unsecured functionality and secured functionality and an optional dynamic reference to a security service. It could use the bind and unbind methods for the security service to indicate in its own service properties how much functionality was available.