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

Make ResourceResolver methods throw ISE in case the according factory is unregistered

    XMLWordPrintableJSON

Details

    Description

      In SLING-4360 the ResourceResolver.isLive() method was extended to check if the ResourceResolverFactory has been unregistered in the mean time. That check should be done in addition for every method on the resource resolver and should throw an ISE in case the factory is no longer registered.

      See also the discussion at http://www.mail-archive.com/dev@sling.apache.org/msg49364.html.

      Attachments

        1. SLING-5025-resourceresolver.v01.diff
          1 kB
          Konrad Windszus
        2. SLING-5025-api.v01.diff
          15 kB
          Konrad Windszus
        3. SLING-5025.v02.diff
          4 kB
          Konrad Windszus

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kwin Konrad Windszus
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: