[
https://issues.apache.org/jira/browse/SLING-5769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15322164#comment-15322164
]
Stefan Seifert commented on SLING-5769:
---------------------------------------
you can get the ResourceResolverFactory just via OSGi / getService(...) on the
context.
> Expose resource resolver factory from SlingContext
> --------------------------------------------------
>
> Key: SLING-5769
> URL: https://issues.apache.org/jira/browse/SLING-5769
> Project: Sling
> Issue Type: Improvement
> Components: Testing
> Affects Versions: Testing Sling Mock 1.6.2
> Reporter: Konrad Windszus
> Assignee: Konrad Windszus
>
> Currently only one singleton resource resolver is exposed from
> {{o.a.s.testing.mock.sling.junit.SlingContext}} (which is automatically
> closed at the end of the test). For some cases (see SLING-5719) it is useful
> to create additional resource resolvers. For that the underlying resource
> resolver factory should be exposed as well from {{SlingContext}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)