public abstract class AbstractRepositoryI extends omero.grid._InternalRepositoryDisp implements ApplicationListener<InternalMessage>
takeover
and other lifecycle tasks. Individual instances
will be responsible for providing the other service instances which are
returned from this service.Constructor and Description |
---|
AbstractRepositoryI(Ice.ObjectAdapter oa,
Registry reg,
Executor ex,
Principal p,
FileMaker fileMaker,
PublicRepositoryI servant) |
AbstractRepositoryI(Ice.ObjectAdapter oa,
Registry reg,
Executor ex,
Principal p,
String repoDir,
PublicRepositoryI servant) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
omero.api.RawFileStorePrx |
createRawFileStore(omero.model.OriginalFile file,
Ice.Current __current) |
omero.api.RawPixelsStorePrx |
createRawPixelsStore(omero.model.OriginalFile file,
Ice.Current __current) |
omero.api.RenderingEnginePrx |
createRenderingEngine(omero.model.OriginalFile file,
Ice.Current __current) |
omero.api.ThumbnailStorePrx |
createThumbnailStore(omero.model.OriginalFile file,
Ice.Current __current) |
String |
generateRepoUuid()
Called when this repository is creating a new
OriginalFile
repository object. |
Ice.Communicator |
getCommunicator() |
omero.model.OriginalFile |
getDescription(Ice.Current __current) |
protected omero.model.OriginalFileI |
getDescription(long id) |
abstract String |
getFilePath(omero.model.OriginalFile file,
Ice.Current __current) |
protected String |
getFileRepo(omero.model.OriginalFile file) |
Ice.ObjectAdapter |
getObjectAdapter() |
omero.grid.RepositoryPrx |
getProxy(Ice.Current __current) |
String |
getRepoUuid() |
void |
onApplicationEvent(InternalMessage im) |
omero.cmd.Response |
rawAccess(omero.grid.RawAccessRequest req,
Ice.Current __current) |
boolean |
takeover()
Method called in a background thread which may end up waiting
indefinitely on the repository lock file
("${omero.data.dir}/.omero/repository/${omero.db.uuid}/repo_uuid").
|
___createRawFileStore, ___createRawPixelsStore, ___createRenderingEngine, ___createThumbnailStore, ___getDescription, ___getFilePath, ___getProxy, ___rawAccess, __dispatch, __readImpl, __writeImpl, createRawFileStore, createRawPixelsStore, createRenderingEngine, createThumbnailStore, getDescription, getFilePath, getProxy, ice_copyStateFrom, ice_id, ice_id, ice_ids, ice_ids, ice_isA, ice_isA, ice_staticId, rawAccess
___ice_id, ___ice_ids, ___ice_isA, ___ice_ping, __checkMode, __collocDispatch, __read, __read, __readImpl, __write, __write, __writeImpl, clone, ice_dispatch, ice_dispatch, ice_operationAttributes, ice_ping, ice_ping, ice_postUnmarshal, ice_preMarshal
public AbstractRepositoryI(Ice.ObjectAdapter oa, Registry reg, Executor ex, Principal p, String repoDir, PublicRepositoryI servant)
public AbstractRepositoryI(Ice.ObjectAdapter oa, Registry reg, Executor ex, Principal p, FileMaker fileMaker, PublicRepositoryI servant)
public String generateRepoUuid()
OriginalFile
repository object.public void onApplicationEvent(InternalMessage im)
onApplicationEvent
in interface ApplicationListener<InternalMessage>
public boolean takeover()
public void close()
public final String getRepoUuid()
public final Ice.Communicator getCommunicator()
public final Ice.ObjectAdapter getObjectAdapter()
public final omero.model.OriginalFile getDescription(Ice.Current __current)
getDescription
in interface omero.grid._InternalRepositoryOperations
public final omero.grid.RepositoryPrx getProxy(Ice.Current __current)
getProxy
in interface omero.grid._InternalRepositoryOperations
public omero.cmd.Response rawAccess(omero.grid.RawAccessRequest req, Ice.Current __current) throws omero.ServerError
rawAccess
in interface omero.grid._InternalRepositoryOperations
omero.ServerError
public abstract String getFilePath(omero.model.OriginalFile file, Ice.Current __current) throws omero.ServerError
getFilePath
in interface omero.grid._InternalRepositoryOperations
omero.ServerError
public omero.api.RawFileStorePrx createRawFileStore(omero.model.OriginalFile file, Ice.Current __current)
createRawFileStore
in interface omero.grid._InternalRepositoryOperations
public omero.api.RawPixelsStorePrx createRawPixelsStore(omero.model.OriginalFile file, Ice.Current __current)
createRawPixelsStore
in interface omero.grid._InternalRepositoryOperations
public omero.api.RenderingEnginePrx createRenderingEngine(omero.model.OriginalFile file, Ice.Current __current)
createRenderingEngine
in interface omero.grid._InternalRepositoryOperations
public omero.api.ThumbnailStorePrx createThumbnailStore(omero.model.OriginalFile file, Ice.Current __current)
createThumbnailStore
in interface omero.grid._InternalRepositoryOperations
protected omero.model.OriginalFileI getDescription(long id) throws omero.ServerError
omero.ServerError
protected String getFileRepo(omero.model.OriginalFile file) throws omero.ServerError
omero.ServerError
Version: 5.3.3-ice35-b63
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.