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

Allow ResourceChangeListeners to define glob patterns for resource matching

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: API 2.12.0
    • Fix Version/s: API 2.14.0
    • Component/s: API
    • Labels:
      None

      Description

      While the previous way to interact with Resource change events through registering EventHandler sevices allowed defining glob patterns for matching the watched paths, the current state of the org.apache.sling.api.resource.observation.ResourceChangeListener only allows subscribing to events for concrete paths.

      In order to allow for the same filtering flexibility, ResourceChangeListener should also accept glob patterns for its resource.paths configuration property.

        Attachments

        1. SLING-5837.patch
          7 kB
          Radu Cotescu

          Issue Links

            Activity

              People

              • Assignee:
                radu Radu Cotescu
                Reporter:
                radu Radu Cotescu
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: