Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-957

JCR EventListeners are not easy to create or write

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Invalid
    • None
    • None
    • JCR
    • 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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ianeboston Ian Boston
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: