Class DocumentNodeStoreFactory
- java.lang.Object
-
- org.silverpeas.core.jcr.impl.oak.factories.DocumentNodeStoreFactory
-
- All Implemented Interfaces:
NodeStoreFactory
public class DocumentNodeStoreFactory extends Object implements NodeStoreFactory
Factory of aDocumentNodeStore
instance. This is for the document storage in Oak. Currently, only the MongoDB as document-based database is supported.- Author:
- mmoquillon
-
-
Constructor Summary
Constructors Constructor Description DocumentNodeStoreFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.jackrabbit.oak.spi.state.NodeStore
create(String jcrHomePath, OakRepositoryConfiguration conf)
Creates aNodeStore
instance according to the specified configuration parameters for the repository located at the given absolute path.
-
-
-
Method Detail
-
create
public org.apache.jackrabbit.oak.spi.state.NodeStore create(String jcrHomePath, OakRepositoryConfiguration conf)
Description copied from interface:NodeStoreFactory
Creates aNodeStore
instance according to the specified configuration parameters for the repository located at the given absolute path. The storage is opened and handled by the specifiedNodeStore
instance.- Specified by:
create
in interfaceNodeStoreFactory
- Parameters:
jcrHomePath
- the absolute path of the home directory of the JCR.conf
- the JCR configuration with the parameters required to either create and initialize or to open the node storage.- Returns:
- a
NodeStore
instance or null if the parameters in the configuration doesn't match the type of node this factory is in charge of. The returnedNodeStore
instance is the object by which the access to the storage is performed.
-
-