You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2010/03/09 10:21:27 UTC

[jira] Created: (SLING-1429) Add support for ResourceDecorator i

Add support for ResourceDecorator i
-----------------------------------

                 Key: SLING-1429
                 URL: https://issues.apache.org/jira/browse/SLING-1429
             Project: Sling
          Issue Type: New Feature
          Components: API, JCR
    Affects Versions: API 2.0.8, JCR Resource 2.0.6
            Reporter: Carsten Ziegeler
            Assignee: Carsten Ziegeler
             Fix For: JCR Resource 2.0.8, API 2.0.10


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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (SLING-1429) Add support for ResourceDecorator i

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-1429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler resolved SLING-1429.
-------------------------------------

    Resolution: Fixed

Added new interface and added the calls inside the resource resolver

> Add support for ResourceDecorator i
> -----------------------------------
>
>                 Key: SLING-1429
>                 URL: https://issues.apache.org/jira/browse/SLING-1429
>             Project: Sling
>          Issue Type: New Feature
>          Components: API, JCR
>    Affects Versions: JCR Resource 2.0.6, API 2.0.8
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: JCR Resource 2.0.8, API 2.0.10
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.