[
https://issues.apache.org/jira/browse/OAK-9416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Konrad Windszus updated OAK-9416:
---------------------------------
Description:
Currently there is simple way to use the [Oak
API|https://jackrabbit.apache.org/oak/docs/apidocs/org/apache/jackrabbit/oak/api/package-summary.html]
when one has only a JCR object (backed by a Oak repository) at hand.
There should be simple conversion method from JCR Session to Oak Content
Session which throws an exception in case the JCR Session is not backed by Oak.
There was a related discussion at
https://lists.apache.org/thread.html/r69c8b1bbe831d50e5aa3a19f4da9773e03794cf2946c63971ece81e3%40%3Cdev.jackrabbit.apache.org%3E
was:
Currently there is simple way to use the [Oak
API|https://jackrabbit.apache.org/oak/docs/apidocs/org/apache/jackrabbit/oak/api/package-summary.html]
when one has only a JCR object (backed by a Oak repository) at hand.
There should be simple conversion method from JCR Session to Oak Content
Session which throws an exception in case the JCR Session is not backed by Oak.
> Add bridge method to get Oak ContentSession from JCR Session
> ------------------------------------------------------------
>
> Key: OAK-9416
> URL: https://issues.apache.org/jira/browse/OAK-9416
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: jcr
> Reporter: Konrad Windszus
> Priority: Major
>
> Currently there is simple way to use the [Oak
> API|https://jackrabbit.apache.org/oak/docs/apidocs/org/apache/jackrabbit/oak/api/package-summary.html]
> when one has only a JCR object (backed by a Oak repository) at hand.
> There should be simple conversion method from JCR Session to Oak Content
> Session which throws an exception in case the JCR Session is not backed by
> Oak.
> There was a related discussion at
> https://lists.apache.org/thread.html/r69c8b1bbe831d50e5aa3a19f4da9773e03794cf2946c63971ece81e3%40%3Cdev.jackrabbit.apache.org%3E
--
This message was sent by Atlassian Jira
(v8.3.4#803005)