Class OakRepositoryFactory

  • All Implemented Interfaces:
    javax.jcr.RepositoryFactory, SilverpeasRepositoryFactory

    public class OakRepositoryFactory
    extends Object
    implements SilverpeasRepositoryFactory

    A factory of a Repository implemented by Apache Jackrabbit Oak. The factory checks the required parameters are available to take the control of the construction of the Repository instance. The repository is created by using the Oak API and from the configuration parameters that were loaded from a properties file in the JCR home directory. The expected parameters are:

    • Constructor Detail

      • OakRepositoryFactory

        public OakRepositoryFactory()
    • Method Detail

      • getRepository

        public javax.jcr.Repository getRepository​(Map parameters)
                                           throws javax.jcr.RepositoryException
        Specified by:
        getRepository in interface javax.jcr.RepositoryFactory
        Throws:
        javax.jcr.RepositoryException