public class _ServiceFactoryTie extends _ServiceFactoryDisp implements Ice.TieBase
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
__ids
ice_staticId
Constructor and Description |
---|
_ServiceFactoryTie(_ServiceFactoryOperations delegate) |
_ServiceFactoryTie() |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
activeServices(Ice.Current __current)
Returns a list of string ids for currently active services.
|
void |
closeOnDestroy(Ice.Current __current)
Marks the session for closure rather than detachment, which will
be triggered by the destruction of the Glacier2 connection via
router.destroySession()
Closing the session rather the detaching is more secure, since all
resources are removed from the server and can safely be set once
it is clear that a client is finished with those resources.
|
StatefulServiceInterfacePrx |
createByName(java.lang.String name,
Ice.Current __current)
Allows looking up any stateful service by name.
|
ExporterPrx |
createExporter(Ice.Current __current) |
JobHandlePrx |
createJobHandle(Ice.Current __current) |
RawFileStorePrx |
createRawFileStore(Ice.Current __current) |
RawPixelsStorePrx |
createRawPixelsStore(Ice.Current __current) |
RenderingEnginePrx |
createRenderingEngine(Ice.Current __current) |
SearchPrx |
createSearchService(Ice.Current __current) |
ThumbnailStorePrx |
createThumbnailStore(Ice.Current __current) |
void |
destroy(Ice.Current __current) |
void |
detachOnDestroy(Ice.Current __current)
Marks the session for detachment rather than closure, which will
be triggered by the destruction of the Glacier2 connection via
router.destroySession()
This is the default and allows a lost session to be reconnected,
at a slight security cost since the session will persist longer
and can be used by others if the UUID is intercepted.
|
boolean |
equals(java.lang.Object rhs) |
IAdminPrx |
getAdminService(Ice.Current __current) |
ServiceInterfacePrx |
getByName(java.lang.String name,
Ice.Current __current)
Allows looking up any stateless service by name.
|
IConfigPrx |
getConfigService(Ice.Current __current) |
IContainerPrx |
getContainerService(Ice.Current __current) |
ILdapPrx |
getLdapService(Ice.Current __current) |
IMetadataPrx |
getMetadataService(Ice.Current __current) |
IPixelsPrx |
getPixelsService(Ice.Current __current) |
IProjectionPrx |
getProjectionService(Ice.Current __current) |
IQueryPrx |
getQueryService(Ice.Current __current) |
IRenderingSettingsPrx |
getRenderingSettingsService(Ice.Current __current) |
IRepositoryInfoPrx |
getRepositoryInfoService(Ice.Current __current) |
IRoiPrx |
getRoiService(Ice.Current __current) |
IScriptPrx |
getScriptService(Ice.Current __current) |
java.util.List<IObject> |
getSecurityContexts(Ice.Current __current)
Provides a list of all valid security contexts for this session.
|
ISessionPrx |
getSessionService(Ice.Current __current) |
ISharePrx |
getShareService(Ice.Current __current) |
ITimelinePrx |
getTimelineService(Ice.Current __current) |
ITypesPrx |
getTypesService(Ice.Current __current) |
IUpdatePrx |
getUpdateService(Ice.Current __current) |
int |
hashCode() |
java.lang.Object |
ice_delegate() |
void |
ice_delegate(java.lang.Object delegate) |
boolean |
keepAlive(ServiceInterfacePrx proxy,
Ice.Current __current)
Returns true if the given service is alive.
|
long |
keepAllAlive(ServiceInterfacePrx[] proxies,
Ice.Current __current)
Requests that the given services be marked as alive.
|
void |
setCallback(ClientCallbackPrx callback,
Ice.Current __current)
Sets the single callback used by the ServiceFactory
to communicate with the client application.
|
IObject |
setSecurityContext(IObject obj,
Ice.Current __current)
Changes the security context for the current session.
|
void |
setSecurityPassword(java.lang.String password,
Ice.Current __current)
Re-validates the password for the current session.
|
SharedResourcesPrx |
sharedResources(Ice.Current __current)
Returns a reference to a back-end manager.
|
void |
submit_async(AMD_Session_submit __cb,
Request req,
Ice.Current __current) |
void |
subscribe(java.lang.String topicName,
Ice.ObjectPrx prx,
Ice.Current __current)
Subscribe to a given topic.
|
___activeServices, ___closeOnDestroy, ___createByName, ___createExporter, ___createJobHandle, ___createRawFileStore, ___createRawPixelsStore, ___createRenderingEngine, ___createSearchService, ___createThumbnailStore, ___detachOnDestroy, ___getAdminService, ___getByName, ___getConfigService, ___getContainerService, ___getLdapService, ___getMetadataService, ___getPixelsService, ___getProjectionService, ___getQueryService, ___getRenderingSettingsService, ___getRepositoryInfoService, ___getRoiService, ___getScriptService, ___getSecurityContexts, ___getSessionService, ___getShareService, ___getTimelineService, ___getTypesService, ___getUpdateService, ___keepAlive, ___keepAllAlive, ___setCallback, ___setSecurityContext, ___setSecurityPassword, ___sharedResources, ___subscribe, __dispatch, __readImpl, __writeImpl, activeServices, closeOnDestroy, createByName, createExporter, createJobHandle, createRawFileStore, createRawPixelsStore, createRenderingEngine, createSearchService, createThumbnailStore, destroy, detachOnDestroy, getAdminService, getByName, getConfigService, getContainerService, getLdapService, getMetadataService, getPixelsService, getProjectionService, getQueryService, getRenderingSettingsService, getRepositoryInfoService, getRoiService, getScriptService, getSecurityContexts, getSessionService, getShareService, getTimelineService, getTypesService, getUpdateService, ice_copyStateFrom, ice_id, ice_id, ice_ids, ice_ids, ice_isA, ice_isA, ice_staticId, keepAlive, keepAllAlive, setCallback, setSecurityContext, setSecurityPassword, sharedResources, submit_async, subscribe
___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
public static final long serialVersionUID
public _ServiceFactoryTie()
public _ServiceFactoryTie(_ServiceFactoryOperations delegate)
public java.lang.Object ice_delegate()
ice_delegate
in interface Ice.TieBase
public void ice_delegate(java.lang.Object delegate)
ice_delegate
in interface Ice.TieBase
public boolean equals(java.lang.Object rhs)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public void destroy(Ice.Current __current)
destroy
in interface Glacier2._SessionOperations
public java.util.List<java.lang.String> activeServices(Ice.Current __current) throws ServerError
_ServiceFactoryOperations
activeServices
in interface _ServiceFactoryOperations
__current
- The Current object for the invocation.ServerError
public void closeOnDestroy(Ice.Current __current) throws ServerError
_ServiceFactoryOperations
closeOnDestroy
in interface _ServiceFactoryOperations
__current
- The Current object for the invocation.ServerError
public StatefulServiceInterfacePrx createByName(java.lang.String name, Ice.Current __current) throws ServerError
_ServiceFactoryOperations
createByName
in interface _ServiceFactoryOperations
__current
- The Current object for the invocation.ServerError
public ExporterPrx createExporter(Ice.Current __current) throws ServerError
createExporter
in interface _ServiceFactoryOperations
ServerError
public JobHandlePrx createJobHandle(Ice.Current __current) throws ServerError
createJobHandle
in interface _ServiceFactoryOperations
ServerError
public RawFileStorePrx createRawFileStore(Ice.Current __current) throws ServerError
createRawFileStore
in interface _ServiceFactoryOperations
ServerError
public RawPixelsStorePrx createRawPixelsStore(Ice.Current __current) throws ServerError
createRawPixelsStore
in interface _ServiceFactoryOperations
ServerError
public RenderingEnginePrx createRenderingEngine(Ice.Current __current) throws ServerError
createRenderingEngine
in interface _ServiceFactoryOperations
ServerError
public SearchPrx createSearchService(Ice.Current __current) throws ServerError
createSearchService
in interface _ServiceFactoryOperations
ServerError
public ThumbnailStorePrx createThumbnailStore(Ice.Current __current) throws ServerError
createThumbnailStore
in interface _ServiceFactoryOperations
ServerError
public void detachOnDestroy(Ice.Current __current) throws ServerError
_ServiceFactoryOperations
detachOnDestroy
in interface _ServiceFactoryOperations
__current
- The Current object for the invocation.ServerError
public IAdminPrx getAdminService(Ice.Current __current) throws ServerError
getAdminService
in interface _ServiceFactoryOperations
ServerError
public ServiceInterfacePrx getByName(java.lang.String name, Ice.Current __current) throws ServerError
_ServiceFactoryOperations
getByName
in interface _ServiceFactoryOperations
__current
- The Current object for the invocation.ServerError
public IConfigPrx getConfigService(Ice.Current __current) throws ServerError
getConfigService
in interface _ServiceFactoryOperations
ServerError
public IContainerPrx getContainerService(Ice.Current __current) throws ServerError
getContainerService
in interface _ServiceFactoryOperations
ServerError
public ILdapPrx getLdapService(Ice.Current __current) throws ServerError
getLdapService
in interface _ServiceFactoryOperations
ServerError
public IMetadataPrx getMetadataService(Ice.Current __current) throws ServerError
getMetadataService
in interface _ServiceFactoryOperations
ServerError
public IPixelsPrx getPixelsService(Ice.Current __current) throws ServerError
getPixelsService
in interface _ServiceFactoryOperations
ServerError
public IProjectionPrx getProjectionService(Ice.Current __current) throws ServerError
getProjectionService
in interface _ServiceFactoryOperations
ServerError
public IQueryPrx getQueryService(Ice.Current __current) throws ServerError
getQueryService
in interface _ServiceFactoryOperations
ServerError
public IRenderingSettingsPrx getRenderingSettingsService(Ice.Current __current) throws ServerError
getRenderingSettingsService
in interface _ServiceFactoryOperations
ServerError
public IRepositoryInfoPrx getRepositoryInfoService(Ice.Current __current) throws ServerError
getRepositoryInfoService
in interface _ServiceFactoryOperations
ServerError
public IRoiPrx getRoiService(Ice.Current __current) throws ServerError
getRoiService
in interface _ServiceFactoryOperations
ServerError
public IScriptPrx getScriptService(Ice.Current __current) throws ServerError
getScriptService
in interface _ServiceFactoryOperations
ServerError
public java.util.List<IObject> getSecurityContexts(Ice.Current __current) throws ServerError
_ServiceFactoryOperations
IObject
instances can
be passed to setSecurityContext
.getSecurityContexts
in interface _ServiceFactoryOperations
__current
- The Current object for the invocation.ServerError
public ISessionPrx getSessionService(Ice.Current __current) throws ServerError
getSessionService
in interface _ServiceFactoryOperations
ServerError
public ISharePrx getShareService(Ice.Current __current) throws ServerError
getShareService
in interface _ServiceFactoryOperations
ServerError
public ITimelinePrx getTimelineService(Ice.Current __current) throws ServerError
getTimelineService
in interface _ServiceFactoryOperations
ServerError
public ITypesPrx getTypesService(Ice.Current __current) throws ServerError
getTypesService
in interface _ServiceFactoryOperations
ServerError
public IUpdatePrx getUpdateService(Ice.Current __current) throws ServerError
getUpdateService
in interface _ServiceFactoryOperations
ServerError
public boolean keepAlive(ServiceInterfacePrx proxy, Ice.Current __current) throws ServerError
_ServiceFactoryOperations
keepAlive
in interface _ServiceFactoryOperations
__current
- The Current object for the invocation.ServerError
public long keepAllAlive(ServiceInterfacePrx[] proxies, Ice.Current __current) throws ServerError
_ServiceFactoryOperations
if (retval & 1<<idx == 1<<idx) { // not alive }
Except for fatal server or session errors, this method should never
throw an exception.keepAllAlive
in interface _ServiceFactoryOperations
__current
- The Current object for the invocation.ServerError
public void setCallback(ClientCallbackPrx callback, Ice.Current __current) throws ServerError
_ServiceFactoryOperations
setCallback
in interface _ServiceFactoryOperations
__current
- The Current object for the invocation.ServerError
public IObject setSecurityContext(IObject obj, Ice.Current __current) throws ServerError
_ServiceFactoryOperations
A security context limits the set of objects which will be returned by all queries and restricts what updates can be made.
Current valid values for security context:
ExperimenterGroup
- logs into a
specific groupShare
- uses IShare to activate a
share Passing an unloaded version of either object type will change
the way the current session operates. Note: only objects which
are returned by the getSecurityContext
method are
considered valid. Any other instance will cause an exception to
be thrown.
sf = client.createSession() objs = sf.getSecurityContexts() old = sf.setSecurityContext(objs\[-1])
setSecurityContext
in interface _ServiceFactoryOperations
__current
- The Current object for the invocation.ServerError
public void setSecurityPassword(java.lang.String password, Ice.Current __current) throws ServerError
_ServiceFactoryOperations
setSecurityPassword
in interface _ServiceFactoryOperations
__current
- The Current object for the invocation.ServerError
public SharedResourcesPrx sharedResources(Ice.Current __current) throws ServerError
_ServiceFactoryOperations
SharedResources
service provides look ups
for various facilities offered by OMERO:
These facilities may or may not be available on first request.sharedResources
in interface _ServiceFactoryOperations
__current
- The Current object for the invocation.ServerError
SharedResources
public void subscribe(java.lang.String topicName, Ice.ObjectPrx prx, Ice.Current __current) throws ServerError
_ServiceFactoryOperations
subscribe
in interface _ServiceFactoryOperations
__current
- The Current object for the invocation.ServerError
public void submit_async(AMD_Session_submit __cb, Request req, Ice.Current __current)