org.apache.jackrabbit.core.journal
Interface JournalFactory
- All Known Implementing Classes:
- ClusterConfig
public interface JournalFactory
Factory interface for creating Journal
instances. Used
to decouple the repository internals from the repository configuration
mechanism.
getJournal
Journal getJournal(NamespaceResolver resolver)
throws RepositoryException
- Creates, initializes, and returns a
Journal
instance
for use by the repository.
- Parameters:
resolver
- namespace resolver
- Returns:
- initialized journal
- Throws:
RepositoryException
- if the journal can not be created
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.