Details
-
Sub-task
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
None
-
None
Description
Currently the observation to OSGi events bridge is only registered if a configuration is available. However, this
a) adds the need of a configuration
b) if event handlers are available but the configuration is missing, the system does not work
c) if no event handlers are available but the configuration is, events are send with no one listening
We can improve the mechanism, by adding a service tracker for event handlers listening for resource events. If there are any, we register the bridge. If there are none, we don't