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

Allow ResourceChangeListeners to define glob patterns for resource matching

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • API 2.12.0
    • API 2.14.0
    • API
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: