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

NonExternalEventListener marker interface

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • jackrabbit-api
    • 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

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

            Dates

              Created:
              Updated: