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_preMarshalpublic 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._InternalRepositoryOperationspublic final omero.grid.RepositoryPrx getProxy(Ice.Current __current)
getProxy in interface omero.grid._InternalRepositoryOperationspublic omero.cmd.Response rawAccess(omero.grid.RawAccessRequest req,
Ice.Current __current)
throws omero.ServerError
rawAccess in interface omero.grid._InternalRepositoryOperationsomero.ServerErrorpublic abstract String getFilePath(omero.model.OriginalFile file, Ice.Current __current) throws omero.ServerError
getFilePath in interface omero.grid._InternalRepositoryOperationsomero.ServerErrorpublic omero.api.RawFileStorePrx createRawFileStore(omero.model.OriginalFile file,
Ice.Current __current)
createRawFileStore in interface omero.grid._InternalRepositoryOperationspublic omero.api.RawPixelsStorePrx createRawPixelsStore(omero.model.OriginalFile file,
Ice.Current __current)
createRawPixelsStore in interface omero.grid._InternalRepositoryOperationspublic omero.api.RenderingEnginePrx createRenderingEngine(omero.model.OriginalFile file,
Ice.Current __current)
createRenderingEngine in interface omero.grid._InternalRepositoryOperationspublic omero.api.ThumbnailStorePrx createThumbnailStore(omero.model.OriginalFile file,
Ice.Current __current)
createThumbnailStore in interface omero.grid._InternalRepositoryOperationsprotected omero.model.OriginalFileI getDescription(long id)
throws omero.ServerError
omero.ServerErrorprotected String getFileRepo(omero.model.OriginalFile file) throws omero.ServerError
omero.ServerError
Version: 5.2.1-ice35-b15
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.