Package org.apache.jackrabbit.core.data
Interface DataStoreFactory
-
- All Known Implementing Classes:
RepositoryConfig
public interface DataStoreFactory
Factory interface for creatingDataStore
instances. Used to decouple the repository internals from the repository configuration mechanism.- Since:
- Jackrabbit 1.5
- See Also:
- JCR-1438
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DataStore
getDataStore()
Creates, initializes, and returns aDataStore
instance for use by the repository.
-
-
-
Method Detail
-
getDataStore
DataStore getDataStore() throws RepositoryException
Creates, initializes, and returns aDataStore
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
-
-