fedora.server.journal
Interface ServerInterface

All Known Implementing Classes:
ServerWrapper

public interface ServerInterface

Pass this to the constructors of the JournalWorker classes and their dependents instead of passing a Server. This makes it much easier to write unit tests, since I don't need to create a Server instance.

Version:
$Id: ServerInterface.java 5999 2007-04-05 17:23:10Z cwilper $
Author:
jblake@cs.cornell.edu

Method Summary
 ManagementDelegate getManagementDelegate()
           
 java.lang.String getRepositoryHash()
           
 boolean hasInitialized()
           
 

Method Detail

getManagementDelegate

ManagementDelegate getManagementDelegate()

getRepositoryHash

java.lang.String getRepositoryHash()
                                   throws ServerException
Throws:
ServerException

hasInitialized

boolean hasInitialized()