Class CompositeNodeStoreFactory
- java.lang.Object
-
- org.silverpeas.core.jcr.impl.oak.factories.CompositeNodeStoreFactory
-
- All Implemented Interfaces:
NodeStoreFactory
public class CompositeNodeStoreFactory extends Object implements NodeStoreFactory
Factory of a CompositeNodeStore instance. This is to combine both document and segment storage. See the documentation for more explanation about this storage. For instance, it isn't not supported by Silverpeas.- Author:
- mmoquillon
-
-
Constructor Summary
Constructors Constructor Description CompositeNodeStoreFactory()
-
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.
-
-