Package org.apache.jackrabbit.core.data
Interface DataStoreFactory
-
- All Known Implementing Classes:
RepositoryConfig
public interface DataStoreFactoryFactory interface for creatingDataStoreinstances. 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 DataStoregetDataStore()Creates, initializes, and returns aDataStoreinstance for use by the repository.
-
-
-
Method Detail
-
getDataStore
DataStore getDataStore() throws RepositoryException
Creates, initializes, and returns aDataStoreinstance 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
-
-