Package org.apache.jackrabbit.core.data
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 TypeMethodDescriptionCreates, initializes, and returns aDataStoreinstance for use by the repository.
-
Method Details
-
getDataStore
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
-