jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chetan Mehrotra <chetan.mehro...@gmail.com>
Subject Re: plugin.document not exported in OSGi bundle
Date Wed, 23 Apr 2014 04:17:03 GMT
The preferred approach is to instantiate via OSGi configuration. So in
your OSGi create configuration for DocumentNodeStore for pid
'org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreService'
[1]. This would activate the DocumentNodeStoreService [2] component
and that would register DocumentNodeStore against NodeStore interface

Chetan Mehrotra
[1] http://jackrabbit.apache.org/oak/docs/osgi_config.html#DocumentNodeStore
[2] https://github.com/apache/jackrabbit-oak/blob/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentNodeStoreService.java

On Tue, Apr 22, 2014 at 11:23 PM, Galo Gimenez <galo.gimenez@gmail.com> wrote:
> Hello,
>
> I noticed org.apache.jackrabbit.oak.plugins.document.DocumentMK is not
> exported in the OSGi bundle, is there a way to get Oak with the DocumentMK
> instantiated in OSGi.
>
>
> -- Galo

Mime
View raw message