Is the OpenCMIS local binding supported in Nuxeo?

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 votes

2 answers

1876 views

ANSWER



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.

1 votes



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

0 votes



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).
10/25/2011