org.apache.jackrabbit.core
Interface TransientRepository.RepositoryFactory
- Enclosing class:
- TransientRepository
public static interface TransientRepository.RepositoryFactory
Factory interface for creating RepositoryImpl
instances.
Used to give greater control of the repository initialization process
to users of the TransientRepository class.
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
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.