org.apache.jackrabbit.core
Interface TransientRepository.RepositoryFactory

Enclosing interface:
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.


Method Summary
 RepositoryImpl getRepository()
          Creates and intializes a repository instance.
 

Method Detail

getRepository

public RepositoryImpl getRepository()
                             throws RepositoryException
Creates and intializes 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-2006 The Apache Software Foundation. All Rights Reserved.