cancel
Showing results for 
Search instead for 
Did you mean: 

Is the OpenCMIS local binding supported in Nuxeo?

jeanx_
Champ in-the-making
Champ in-the-making

OpenCMIS has a local binding type for same JVM deployment. Dose Nuxeo repository support it? If yes, how to configure it, specificly what is the value of SessionParameter.LOCAL_FACTORY?

1 ACCEPTED ANSWER

Florent_Guillau
World-Class Innovator
World-Class Innovator

The preferred way to access a local Nuxeo instance through OpenCMIS client API using local bindings is to build a NuxeoSession (which implements org.apache.chemistry.opencmis.client.api.Session) . You can build it from a NuxeoRepository (costly to build, so do it once) and a CoreSession. You can pass null for the CallContext.

View answer in original post

3 REPLIES 3

Florent_Guillau
World-Class Innovator
World-Class Innovator

The preferred way to access a local Nuxeo instance through OpenCMIS client API using local bindings is to build a NuxeoSession (which implements org.apache.chemistry.opencmis.client.api.Session) . You can build it from a NuxeoRepository (costly to build, so do it once) and a CoreSession. You can pass null for the CallContext.

Olivier_Grisel
Star Contributor
Star Contributor

The online documentation has an example of the OpenCMIS local binding usage from the Nuxeo JVM.

Note that the page above describes the use of NuxeoCmisService which represents the local SPI (which is the other way to use OpenCMIS directly from Nuxeo).