public class InternalRepository extends NetworkedRepository
Repository repo = new InternalRepository(serverMain,new SimpleAuthenticatedCaller(serverMain.getServerID()));will connect to the server authenticated as the server itself (and thus will be authorized to do everything).
SimpleAuthenticatedCaller
Constructor and Description |
---|
InternalRepository(Main serverMain,
Caller caller) |
InternalRepository(Main serverMain,
Caller caller,
java.util.concurrent.ExecutorService pool) |
InternalRepository(Main serverMain,
Caller caller,
java.util.concurrent.ExecutorService pool,
boolean shutdownPoolOnClose) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the repository and release all resources.
|
createDigitalObject, deleteDigitalObject, ensureIndexUpToDate, getDigitalObject, getHandle, listHandles, listObjects, performOperation, performOperation, queryToString, reindexAllObjects, reindexObject, search, search, search, search, searchHandles, searchHandles, searchHandles, searchHandles, searchMapping, verifyDigitalObject
getOrCreateDigitalObject
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getOrCreateDigitalObject
public InternalRepository(Main serverMain, Caller caller) throws RepositoryException
RepositoryException
public InternalRepository(Main serverMain, Caller caller, java.util.concurrent.ExecutorService pool) throws RepositoryException
RepositoryException
public InternalRepository(Main serverMain, Caller caller, java.util.concurrent.ExecutorService pool, boolean shutdownPoolOnClose) throws RepositoryException
RepositoryException
public void close()
Repository
close
in interface Repository
close
in class NetworkedRepository