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