Carsten Ziegeler created SLING-6105:
---------------------------------------
Summary: Register old resource event bridge automatically
Key: SLING-6105
URL: https://issues.apache.org/jira/browse/SLING-6105
Project: Sling
Issue Type: Sub-task
Components: ResourceResolver
Reporter: Carsten Ziegeler
Priority: Critical
Fix For: Resource Resolver 1.4.20
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
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)