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

Add JackrabbitObservationManager with additional methods for registering event listeners

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.7.5, 2.8
    • jackrabbit-api
    • None

    Description

      I'd like to add an additional method for adding event listeners to the Jackrabbit API:

      void addEventListener(EventListener listener, int eventTypes, String[] absPaths, boolean isDeep, String[] uuid, String[] nodeTypeName, boolean noLocal, boolean noExternal) throws RepositoryException;

      Compared to the JCR method of the same name, this method takes an array of absPath and additional boolean argument:

      Only events whose associated parent node is at one of the paths in <code>absPaths</code> (or within its subgraph, if <code>isDeep</code> is <code>true</code>) will be received.

      and

      Additionally, if <code>noExternal</code> is <code>true</code>, then events from external cluster nodes are ignored. Otherwise, they are not ignored.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            mduerig Michael Dürig
            mduerig Michael Dürig
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment