Package org.apache.jackrabbit.core
Interface TransientRepository.RepositoryFactory
-
- Enclosing class:
- TransientRepository
public static interface TransientRepository.RepositoryFactory
Factory interface for creatingRepositoryImpl
instances. Used to give greater control of the repository initialization process to users of the TransientRepository class.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RepositoryImpl
getRepository()
Creates and initializes a repository instance.
-
-
-
Method Detail
-
getRepository
RepositoryImpl getRepository() throws RepositoryException
Creates and initializes a repository instance. The returned instance will be used and finally shut down by the caller of this method.- Returns:
- initialized repository instance
- Throws:
RepositoryException
- if an instance can not be created
-
-