org.outerj.daisy.repository
Interface RepositoryManager


public interface RepositoryManager

A RepositoryManager is the place to get Repository instances from.

A RepositoryManager represents one 'physical' repository (one database). All Repository instances retrieved from one RepositoryManager thus represent the same repository, the difference between the instances is they are authenticated for different users.


Method Summary
 Repository getRepository(Credentials credentials)
           
 java.lang.String getRepositoryServerVersion()
           
 

Method Detail

getRepository

Repository getRepository(Credentials credentials)
                         throws RepositoryException
Throws:
AuthenticationFailedException - if login failed because of incorrect credentials
RepositoryException

getRepositoryServerVersion

java.lang.String getRepositoryServerVersion()


Copyright © -2012 . All Rights Reserved.