Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-3586

NonExternalEventListener marker interface

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: jackrabbit-api
    • Labels:
      None

      Description

      It would be useful to have a marker interface like the following in the Jackrabbit API:

      interface NonExternalEventListener extends EventListener { }

      The observation dispatcher could then avoid delivering any external events to that listener.

      For backwards compatibility such a listener should still use an "if (!event.isExternal())

      { ... }

      " wrapper for event processing. That way the listener can avoid processing external events also when registered with an older repository that doesn't know about this marker interface.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jukkaz Jukka Zitting
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: