org.fcrepo.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.

Author:
Jim Blake

Method Summary
 ManagementDelegate getManagementDelegate()
           
 String getRepositoryHash()
           
 boolean hasInitialized()
           
 

Method Detail

getManagementDelegate

ManagementDelegate getManagementDelegate()

getRepositoryHash

String getRepositoryHash()
                         throws ServerException
Throws:
ServerException

hasInitialized

boolean hasInitialized()


Copyright © 2012 DuraSpace. All Rights Reserved.