Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Invalid
-
None
-
None
-
None
Description
JCE EventListeners have some drawbacks in the current sling environment.
Its relatively expensive to register them as each provider needs its own jcr session.
Its not possible to register synchronous event listeners as this is part of the jackrabbit-server bundle.
The patch to follow adds an EventManager to jackrabbit-server that ServiceTrack(s) a provider interface, registering InjectableEventListners as normal jcr event listeners or sync event listeners.
This patch assumes that you trust all the code in the JVM and are happy giving bundles access to the JCR System Session.