public abstract class _ServiceFactoryDisp extends Ice.ObjectImpl implements ServiceFactory
A ServiceFactory once acquired can be used to create any number
of service proxies to the server. Most services implement
ServiceInterface
or its subinterface
StatefulServiceInterface
.
Modifier and Type | Field and Description |
---|---|
static java.lang.String[] |
__ids |
static long |
serialVersionUID |
ice_staticId
Constructor and Description |
---|
_ServiceFactoryDisp() |
Modifier and Type | Method and Description |
---|---|
static Ice.DispatchStatus |
___activeServices(ServiceFactory __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___closeOnDestroy(ServiceFactory __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___createByName(ServiceFactory __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___createExporter(ServiceFactory __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___createJobHandle(ServiceFactory __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___createRawFileStore(ServiceFactory __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___createRawPixelsStore(ServiceFactory __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___createRenderingEngine(ServiceFactory __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___createSearchService(ServiceFactory __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___createThumbnailStore(ServiceFactory __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___detachOnDestroy(ServiceFactory __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___getAdminService(ServiceFactory __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___getByName(ServiceFactory __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___getConfigService(ServiceFactory __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___getContainerService(ServiceFactory __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___getLdapService(ServiceFactory __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___getMetadataService(ServiceFactory __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___getPixelsService(ServiceFactory __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___getProjectionService(ServiceFactory __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___getQueryService(ServiceFactory __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___getRenderingSettingsService(ServiceFactory __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___getRepositoryInfoService(ServiceFactory __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___getRoiService(ServiceFactory __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___getScriptService(ServiceFactory __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___getSecurityContexts(ServiceFactory __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___getSessionService(ServiceFactory __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___getShareService(ServiceFactory __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___getTimelineService(ServiceFactory __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___getTypesService(ServiceFactory __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___getUpdateService(ServiceFactory __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___keepAlive(ServiceFactory __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___keepAllAlive(ServiceFactory __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___setCallback(ServiceFactory __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___setSecurityContext(ServiceFactory __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___setSecurityPassword(ServiceFactory __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___sharedResources(ServiceFactory __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___subscribe(ServiceFactory __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
Ice.DispatchStatus |
__dispatch(IceInternal.Incoming in,
Ice.Current __current) |
protected void |
__readImpl(IceInternal.BasicStream __is) |
protected void |
__writeImpl(IceInternal.BasicStream __os) |
java.util.List<java.lang.String> |
activeServices()
Returns a list of string ids for currently active services.
|
void |
closeOnDestroy()
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)
Allows looking up any stateful service by name.
|
ExporterPrx |
createExporter() |
JobHandlePrx |
createJobHandle() |
RawFileStorePrx |
createRawFileStore() |
RawPixelsStorePrx |
createRawPixelsStore() |
RenderingEnginePrx |
createRenderingEngine() |
SearchPrx |
createSearchService() |
ThumbnailStorePrx |
createThumbnailStore() |
void |
destroy()
Destroy the session.
|
void |
detachOnDestroy()
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.
|
IAdminPrx |
getAdminService() |
ServiceInterfacePrx |
getByName(java.lang.String name)
Allows looking up any stateless service by name.
|
IConfigPrx |
getConfigService() |
IContainerPrx |
getContainerService() |
ILdapPrx |
getLdapService() |
IMetadataPrx |
getMetadataService() |
IPixelsPrx |
getPixelsService() |
IProjectionPrx |
getProjectionService() |
IQueryPrx |
getQueryService() |
IRenderingSettingsPrx |
getRenderingSettingsService() |
IRepositoryInfoPrx |
getRepositoryInfoService() |
IRoiPrx |
getRoiService() |
IScriptPrx |
getScriptService() |
java.util.List<IObject> |
getSecurityContexts()
Provides a list of all valid security contexts for this session.
|
ISessionPrx |
getSessionService() |
ISharePrx |
getShareService() |
ITimelinePrx |
getTimelineService() |
ITypesPrx |
getTypesService() |
IUpdatePrx |
getUpdateService() |
protected void |
ice_copyStateFrom(Ice.Object __obj) |
java.lang.String |
ice_id() |
java.lang.String |
ice_id(Ice.Current __current) |
java.lang.String[] |
ice_ids() |
java.lang.String[] |
ice_ids(Ice.Current __current) |
boolean |
ice_isA(java.lang.String s) |
boolean |
ice_isA(java.lang.String s,
Ice.Current __current) |
static java.lang.String |
ice_staticId() |
boolean |
keepAlive(ServiceInterfacePrx proxy)
Returns true if the given service is alive.
|
long |
keepAllAlive(ServiceInterfacePrx[] proxies)
Requests that the given services be marked as alive.
|
void |
setCallback(ClientCallbackPrx callback)
Sets the single callback used by the ServiceFactory
to communicate with the client application.
|
IObject |
setSecurityContext(IObject obj)
Changes the security context for the current session.
|
void |
setSecurityPassword(java.lang.String password)
Re-validates the password for the current session.
|
SharedResourcesPrx |
sharedResources()
Returns a reference to a back-end manager.
|
void |
submit_async(AMD_Session_submit __cb,
Request req) |
void |
subscribe(java.lang.String topicName,
Ice.ObjectPrx prx)
Subscribe to a given topic.
|
___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
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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
submit_async
public static final java.lang.String[] __ids
public static final long serialVersionUID
protected void ice_copyStateFrom(Ice.Object __obj) throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
public boolean ice_isA(java.lang.String s)
ice_isA
in interface Ice.Object
ice_isA
in class Ice.ObjectImpl
public boolean ice_isA(java.lang.String s, Ice.Current __current)
ice_isA
in interface Ice.Object
ice_isA
in class Ice.ObjectImpl
public java.lang.String[] ice_ids()
ice_ids
in interface Ice.Object
ice_ids
in class Ice.ObjectImpl
public java.lang.String[] ice_ids(Ice.Current __current)
ice_ids
in interface Ice.Object
ice_ids
in class Ice.ObjectImpl
public java.lang.String ice_id()
ice_id
in interface Ice.Object
ice_id
in class Ice.ObjectImpl
public java.lang.String ice_id(Ice.Current __current)
ice_id
in interface Ice.Object
ice_id
in class Ice.ObjectImpl
public static java.lang.String ice_staticId()
public final void destroy()
destroy
in interface Glacier2._SessionOperationsNC
public final java.util.List<java.lang.String> activeServices() throws ServerError
activeServices
in interface _ServiceFactoryOperationsNC
ServerError
public final void closeOnDestroy() throws ServerError
closeOnDestroy
in interface _ServiceFactoryOperationsNC
ServerError
public final StatefulServiceInterfacePrx createByName(java.lang.String name) throws ServerError
createByName
in interface _ServiceFactoryOperationsNC
ServerError
public final ExporterPrx createExporter() throws ServerError
createExporter
in interface _ServiceFactoryOperationsNC
ServerError
public final JobHandlePrx createJobHandle() throws ServerError
createJobHandle
in interface _ServiceFactoryOperationsNC
ServerError
public final RawFileStorePrx createRawFileStore() throws ServerError
createRawFileStore
in interface _ServiceFactoryOperationsNC
ServerError
public final RawPixelsStorePrx createRawPixelsStore() throws ServerError
createRawPixelsStore
in interface _ServiceFactoryOperationsNC
ServerError
public final RenderingEnginePrx createRenderingEngine() throws ServerError
createRenderingEngine
in interface _ServiceFactoryOperationsNC
ServerError
public final SearchPrx createSearchService() throws ServerError
createSearchService
in interface _ServiceFactoryOperationsNC
ServerError
public final ThumbnailStorePrx createThumbnailStore() throws ServerError
createThumbnailStore
in interface _ServiceFactoryOperationsNC
ServerError
public final void detachOnDestroy() throws ServerError
detachOnDestroy
in interface _ServiceFactoryOperationsNC
ServerError
public final IAdminPrx getAdminService() throws ServerError
getAdminService
in interface _ServiceFactoryOperationsNC
ServerError
public final ServiceInterfacePrx getByName(java.lang.String name) throws ServerError
getByName
in interface _ServiceFactoryOperationsNC
ServerError
public final IConfigPrx getConfigService() throws ServerError
getConfigService
in interface _ServiceFactoryOperationsNC
ServerError
public final IContainerPrx getContainerService() throws ServerError
getContainerService
in interface _ServiceFactoryOperationsNC
ServerError
public final ILdapPrx getLdapService() throws ServerError
getLdapService
in interface _ServiceFactoryOperationsNC
ServerError
public final IMetadataPrx getMetadataService() throws ServerError
getMetadataService
in interface _ServiceFactoryOperationsNC
ServerError
public final IPixelsPrx getPixelsService() throws ServerError
getPixelsService
in interface _ServiceFactoryOperationsNC
ServerError
public final IProjectionPrx getProjectionService() throws ServerError
getProjectionService
in interface _ServiceFactoryOperationsNC
ServerError
public final IQueryPrx getQueryService() throws ServerError
getQueryService
in interface _ServiceFactoryOperationsNC
ServerError
public final IRenderingSettingsPrx getRenderingSettingsService() throws ServerError
getRenderingSettingsService
in interface _ServiceFactoryOperationsNC
ServerError
public final IRepositoryInfoPrx getRepositoryInfoService() throws ServerError
getRepositoryInfoService
in interface _ServiceFactoryOperationsNC
ServerError
public final IRoiPrx getRoiService() throws ServerError
getRoiService
in interface _ServiceFactoryOperationsNC
ServerError
public final IScriptPrx getScriptService() throws ServerError
getScriptService
in interface _ServiceFactoryOperationsNC
ServerError
public final java.util.List<IObject> getSecurityContexts() throws ServerError
IObject
instances can
be passed to setSecurityContext
.getSecurityContexts
in interface _ServiceFactoryOperationsNC
ServerError
public final ISessionPrx getSessionService() throws ServerError
getSessionService
in interface _ServiceFactoryOperationsNC
ServerError
public final ISharePrx getShareService() throws ServerError
getShareService
in interface _ServiceFactoryOperationsNC
ServerError
public final ITimelinePrx getTimelineService() throws ServerError
getTimelineService
in interface _ServiceFactoryOperationsNC
ServerError
public final ITypesPrx getTypesService() throws ServerError
getTypesService
in interface _ServiceFactoryOperationsNC
ServerError
public final IUpdatePrx getUpdateService() throws ServerError
getUpdateService
in interface _ServiceFactoryOperationsNC
ServerError
public final boolean keepAlive(ServiceInterfacePrx proxy) throws ServerError
keepAlive
in interface _ServiceFactoryOperationsNC
ServerError
public final long keepAllAlive(ServiceInterfacePrx[] proxies) throws ServerError
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 _ServiceFactoryOperationsNC
ServerError
public final void setCallback(ClientCallbackPrx callback) throws ServerError
setCallback
in interface _ServiceFactoryOperationsNC
ServerError
public final IObject setSecurityContext(IObject obj) throws ServerError
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 _ServiceFactoryOperationsNC
ServerError
public final void setSecurityPassword(java.lang.String password) throws ServerError
setSecurityPassword
in interface _ServiceFactoryOperationsNC
ServerError
public final SharedResourcesPrx sharedResources() throws ServerError
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 _ServiceFactoryOperationsNC
ServerError
SharedResources
public final void subscribe(java.lang.String topicName, Ice.ObjectPrx prx) throws ServerError
subscribe
in interface _ServiceFactoryOperationsNC
ServerError
public final void submit_async(AMD_Session_submit __cb, Request req)
public static Ice.DispatchStatus ___getSecurityContexts(ServiceFactory __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___setSecurityContext(ServiceFactory __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___setSecurityPassword(ServiceFactory __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___getAdminService(ServiceFactory __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___getConfigService(ServiceFactory __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___getContainerService(ServiceFactory __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___getLdapService(ServiceFactory __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___getPixelsService(ServiceFactory __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___getProjectionService(ServiceFactory __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___getQueryService(ServiceFactory __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___getRenderingSettingsService(ServiceFactory __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___getRepositoryInfoService(ServiceFactory __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___getRoiService(ServiceFactory __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___getScriptService(ServiceFactory __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___getSessionService(ServiceFactory __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___getShareService(ServiceFactory __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___getTimelineService(ServiceFactory __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___getTypesService(ServiceFactory __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___getUpdateService(ServiceFactory __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___getMetadataService(ServiceFactory __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___createExporter(ServiceFactory __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___createJobHandle(ServiceFactory __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___createRawFileStore(ServiceFactory __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___createRawPixelsStore(ServiceFactory __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___createRenderingEngine(ServiceFactory __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___createSearchService(ServiceFactory __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___createThumbnailStore(ServiceFactory __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___sharedResources(ServiceFactory __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___getByName(ServiceFactory __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___createByName(ServiceFactory __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___subscribe(ServiceFactory __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___setCallback(ServiceFactory __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___closeOnDestroy(ServiceFactory __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___detachOnDestroy(ServiceFactory __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___activeServices(ServiceFactory __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___keepAllAlive(ServiceFactory __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___keepAlive(ServiceFactory __obj, IceInternal.Incoming __inS, Ice.Current __current)
public Ice.DispatchStatus __dispatch(IceInternal.Incoming in, Ice.Current __current)
__dispatch
in interface Ice.Object
__dispatch
in class Ice.ObjectImpl
protected void __writeImpl(IceInternal.BasicStream __os)
__writeImpl
in class Ice.ObjectImpl
protected void __readImpl(IceInternal.BasicStream __is)
__readImpl
in class Ice.ObjectImpl