org.fcrepo.server.journal
Class ServerWrapper
java.lang.Object
org.fcrepo.server.journal.ServerWrapper
- All Implemented Interfaces:
- ServerInterface
public class ServerWrapper
- extends Object
- implements ServerInterface
Wrap a Server in an object that implements an interface, so it can be passed
to the JournalWorker classes and their dependents.
It's also easy to mock, for unit tests.
- Author:
- Jim Blake
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServerWrapper
public ServerWrapper(Server server)
hasInitialized
public boolean hasInitialized()
- Specified by:
hasInitialized in interface ServerInterface
getManagementDelegate
public ManagementDelegate getManagementDelegate()
- Specified by:
getManagementDelegate in interface ServerInterface
getRepositoryHash
public String getRepositoryHash()
throws ServerException
- Specified by:
getRepositoryHash in interface ServerInterface
- Throws:
ServerException
Copyright © 2012 DuraSpace. All Rights Reserved.