You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2008/03/06 16:28:59 UTC

[jira] Closed: (SLING-246) Replace Resource.getResourceProvider() by Resource.getResourceResolver()

     [ https://issues.apache.org/jira/browse/SLING-246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger closed SLING-246.
-----------------------------------

    Resolution: Fixed

This has long been implemented, so I close this issue.

> Replace Resource.getResourceProvider() by Resource.getResourceResolver()
> ------------------------------------------------------------------------
>
>                 Key: SLING-246
>                 URL: https://issues.apache.org/jira/browse/SLING-246
>             Project: Sling
>          Issue Type: Improvement
>          Components: API
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: 2.0.0
>
>
> Currently the Resource provides access to the ResourceProvider which created the resource. This is not really practical and probably not correct at all because the ResourceProvider is something operating behind the scenes on behalf of the ResourceResolver. Thefore this method should be replaced by a method providing access to the ResourceResolver causing the Resource object to be created by the ResourceProvider.
> Changes due:
>    Resource:
>         + getResourceResolver()
>         - getResourceProvider()
>    ResourceProvider:
>         + add ResourceResolver arguments to all methods creating Resource instances

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