You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Radu Cotescu (JIRA)" <ji...@apache.org> on 2015/01/26 11:12:34 UTC

[jira] [Updated] (SLING-4349) [Sightly] Extend RenderContext to provide access to the ServletResolver resource resolver

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

Radu Cotescu updated SLING-4349:
--------------------------------
    Attachment: SLING-4349.patch

The attached patch ([^SLING-4349.patch]) provides the following features:

* added {{RenderContext#getScriptResourceResolver}}
* wrapped the {{ResourceResolver}} in {{RenderContextImpl}} such that calls to {{ResourceResolver#close}} throw {{UnsupportedOperationException}}
* updated {{UseProvider}}s to use the new API

> [Sightly] Extend RenderContext to provide access to the ServletResolver resource resolver
> -----------------------------------------------------------------------------------------
>
>                 Key: SLING-4349
>                 URL: https://issues.apache.org/jira/browse/SLING-4349
>             Project: Sling
>          Issue Type: Improvement
>          Components: Scripting
>            Reporter: Radu Cotescu
>             Fix For: Scripting Sightly Engine 1.0.0
>
>         Attachments: SLING-4349.patch
>
>
> The {{RenderContext}} should be extended to provide access to the {{ServletResolver}}'s resource resolver for {{RuntimeExtension}}s. This resolver should only be used for scripts and use objects resolution.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)