public abstract class AbstractRepositoryI extends _InternalRepositoryDisp implements org.springframework.context.ApplicationListener<ome.util.messages.InternalMessage>
takeover
and other lifecycle tasks. Individual instances
will be responsible for providing the other service instances which are
returned from this service.__ids, serialVersionUID
ice_staticId
Constructor and Description |
---|
AbstractRepositoryI(Ice.ObjectAdapter oa,
Registry reg,
ome.services.util.Executor ex,
ome.system.Principal p,
FileMaker fileMaker,
PublicRepositoryI servant)
Deprecated.
|
AbstractRepositoryI(Ice.ObjectAdapter oa,
Registry reg,
ome.services.util.Executor ex,
ome.system.Principal p,
FileMaker fileMaker,
ome.services.util.ReadOnlyStatus readOnly,
PublicRepositoryI servant) |
AbstractRepositoryI(Ice.ObjectAdapter oa,
Registry reg,
ome.services.util.Executor ex,
ome.system.Principal p,
java.lang.String repoDir,
PublicRepositoryI servant)
Deprecated.
|
AbstractRepositoryI(Ice.ObjectAdapter oa,
Registry reg,
ome.services.util.Executor ex,
ome.system.Principal p,
java.lang.String repoDir,
ome.services.util.ReadOnlyStatus readOnly,
PublicRepositoryI servant) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
RawFileStorePrx |
createRawFileStore(OriginalFile file,
Ice.Current __current) |
RawPixelsStorePrx |
createRawPixelsStore(OriginalFile file,
Ice.Current __current) |
RenderingEnginePrx |
createRenderingEngine(OriginalFile file,
Ice.Current __current) |
ThumbnailStorePrx |
createThumbnailStore(OriginalFile file,
Ice.Current __current) |
java.lang.String |
generateRepoUuid()
Called when this repository is creating a new
OriginalFile
repository object. |
Ice.Communicator |
getCommunicator() |
OriginalFile |
getDescription(Ice.Current __current) |
protected OriginalFileI |
getDescription(long id) |
abstract java.lang.String |
getFilePath(OriginalFile file,
Ice.Current __current) |
protected java.lang.String |
getFileRepo(OriginalFile file) |
Ice.ObjectAdapter |
getObjectAdapter() |
RepositoryPrx |
getProxy(Ice.Current __current) |
java.lang.String |
getRepoUuid() |
void |
onApplicationEvent(ome.util.messages.InternalMessage im) |
Response |
rawAccess(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, __read, __read, __readImpl, __write, __write, __writeImpl, clone, ice_dispatch, ice_dispatch, ice_operationAttributes, ice_ping, ice_ping, ice_postUnmarshal, ice_preMarshal
@Deprecated public AbstractRepositoryI(Ice.ObjectAdapter oa, Registry reg, ome.services.util.Executor ex, ome.system.Principal p, java.lang.String repoDir, PublicRepositoryI servant)
@Deprecated public AbstractRepositoryI(Ice.ObjectAdapter oa, Registry reg, ome.services.util.Executor ex, ome.system.Principal p, FileMaker fileMaker, PublicRepositoryI servant)
public AbstractRepositoryI(Ice.ObjectAdapter oa, Registry reg, ome.services.util.Executor ex, ome.system.Principal p, java.lang.String repoDir, ome.services.util.ReadOnlyStatus readOnly, PublicRepositoryI servant)
public AbstractRepositoryI(Ice.ObjectAdapter oa, Registry reg, ome.services.util.Executor ex, ome.system.Principal p, FileMaker fileMaker, ome.services.util.ReadOnlyStatus readOnly, PublicRepositoryI servant)
public java.lang.String generateRepoUuid()
OriginalFile
repository object.public void onApplicationEvent(ome.util.messages.InternalMessage im)
onApplicationEvent
in interface org.springframework.context.ApplicationListener<ome.util.messages.InternalMessage>
public boolean takeover()
public void close()
public final java.lang.String getRepoUuid()
public final Ice.Communicator getCommunicator()
public final Ice.ObjectAdapter getObjectAdapter()
public final OriginalFile getDescription(Ice.Current __current)
getDescription
in interface _InternalRepositoryOperations
public final RepositoryPrx getProxy(Ice.Current __current)
getProxy
in interface _InternalRepositoryOperations
public Response rawAccess(RawAccessRequest req, Ice.Current __current) throws ServerError
rawAccess
in interface _InternalRepositoryOperations
ServerError
public abstract java.lang.String getFilePath(OriginalFile file, Ice.Current __current) throws ServerError
getFilePath
in interface _InternalRepositoryOperations
ServerError
public RawFileStorePrx createRawFileStore(OriginalFile file, Ice.Current __current)
createRawFileStore
in interface _InternalRepositoryOperations
public RawPixelsStorePrx createRawPixelsStore(OriginalFile file, Ice.Current __current)
createRawPixelsStore
in interface _InternalRepositoryOperations
public RenderingEnginePrx createRenderingEngine(OriginalFile file, Ice.Current __current)
createRenderingEngine
in interface _InternalRepositoryOperations
public ThumbnailStorePrx createThumbnailStore(OriginalFile file, Ice.Current __current)
createThumbnailStore
in interface _InternalRepositoryOperations
protected OriginalFileI getDescription(long id) throws ServerError
ServerError
protected java.lang.String getFileRepo(OriginalFile file) throws ServerError
ServerError