jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From techie2k <developer.spr...@gmail.com>
Subject ContentRepository handle
Date Thu, 06 Apr 2017 09:04:19 GMT
Without using sling/felix, is there a way to get ContentRepository object 
for Oak(using MongoDB as document store) in spring based web application?

Currently using ceateRepository, everytime I *cannot *call following code on
server(Tomcat) restart:

*Jcr jcr = new Jcr(new Oak(documentNodeStore)).with(getSecurityProvider());
Repository repository = jcr.createRepository();*

Is there any factory class available, so that I pass mongodb connection
params and get repository object?





--
View this message in context: http://jackrabbit.510166.n4.nabble.com/ContentRepository-handle-tp4666696.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

Mime
View raw message