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

Add support for ResourceDecorator i

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • JCR Resource 2.0.6, API 2.0.8
    • JCR Resource 2.0.8, API 2.1.0
    • API, JCR
    • None

    Description

      As discussed in the mailing list, we add a new interface

      interface ResourceDecorator {
      Resource decorate(Resource)
      Resource decorate(Resource, HttpServletRequest)
      }

      The registered decorators will be called from the resource resolver for each resource returned.
      The services will be called in the order of their service ranking

      Attachments

        Activity

          People

            cziegeler Carsten Ziegeler
            cziegeler Carsten Ziegeler
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: