Interface RepositoryFactory

    • Method Detail

      • getRepositoryType

        String getRepositoryType()
        Returns the type of the repositories that this factory creates. Repository types are used for identification and should uniquely identify specific implementations of the Repository API. This type can be equal to the fully qualified class name of the repository, but this is not required.
      • getRepository

        Repository getRepository​(RepositoryImplConfig config)
                          throws RepositoryConfigException
        Returns a Repository instance that has been initialized using the supplied configuration data.
        Parameters:
        config - TODO
        Returns:
        The created (but un-initialized) repository.
        Throws:
        RepositoryConfigException - If no repository could be created due to invalid or incomplete configuration data.