Interface DataStoreFactory


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:
  • Method Summary

    Modifier and Type
    Method
    Description
    Creates, initializes, and returns a DataStore instance for use by the repository.
  • Method Details

    • 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