Interface DataStoreFactory

  • All Known Implementing Classes:
    RepositoryConfig

    public interface DataStoreFactory
    Factory interface for creating DataStore instances. Used to decouple the repository internals from the repository configuration mechanism.
    Since:
    Jackrabbit 1.5
    See Also:
    JCR-1438
    • Method Detail

      • getDataStore

        DataStore getDataStore()
                        throws RepositoryException
        Creates, initializes, and returns a DataStore instance for use by the repository. Note that no information is passed from the client, so all required configuration information must be encapsulated in the factory.
        Returns:
        initialized data store
        Throws:
        RepositoryException - if the data store can not be created