Interface JournalFactory
-
- All Known Implementing Classes:
ClusterConfig
public interface JournalFactory
Factory interface for creatingJournal
instances. Used to decouple the repository internals from the repository configuration mechanism.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Journal
getJournal(NamespaceResolver resolver)
Creates, initializes, and returns aJournal
instance for use by the repository.
-
-
-
Method Detail
-
getJournal
Journal getJournal(NamespaceResolver resolver) throws RepositoryException
Creates, initializes, and returns aJournal
instance for use by the repository.- Parameters:
resolver
- namespace resolver- Returns:
- initialized journal
- Throws:
RepositoryException
- if the journal can not be created
-
-