Sling
  1. Sling
  2. SLING-2796

Support refreshing of resource providers

    Details

      Description

      We should add a method refresh() to the resource resolver which delegates this call to all resource providers implementing the RefreshableResourceProvider (or is there a better name?)

      Some data storages like JCR (especially with the upcoming Oak implementation) might give you the state of the storage from the time the login happened. Therefore we need a way to get the latest state. In JCR this is done through the refresh method. With adding this for resource providers we can support this for all resource providers.

        Activity

        Hide
        Carsten Ziegeler added a comment -

        Added the new interface and method to the resource resolver
        JCR Resource Provider implements this interface
        Revision 1460424

        Show
        Carsten Ziegeler added a comment - Added the new interface and method to the resource resolver JCR Resource Provider implements this interface Revision 1460424

          People

          • Assignee:
            Carsten Ziegeler
            Reporter:
            Carsten Ziegeler
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development