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.
    • 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