You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Justin Edelson (JIRA)" <ji...@apache.org> on 2014/07/11 10:06:06 UTC

[jira] [Closed] (SLING-3700) Add a simple injector to get the resource resolver

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

Justin Edelson closed SLING-3700.
---------------------------------


> Add a simple injector to get the resource resolver
> --------------------------------------------------
>
>                 Key: SLING-3700
>                 URL: https://issues.apache.org/jira/browse/SLING-3700
>             Project: Sling
>          Issue Type: Improvement
>          Components: Extensions
>            Reporter: Justin Edelson
>            Assignee: Justin Edelson
>             Fix For: Sling Models Implementation 1.0.6
>
>
> Currently, injecting a ResourceResolver into a model class which is adapted from a resource is not possible - you have to use constructor injection of the Resource and then get the Resource Resolver from the Resource. This is non-intuitive and should be fixed.



--
This message was sent by Atlassian JIRA
(v6.2#6252)