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() |
___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_preMarshalequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitactiveServices, 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, subscribesubmit_async__read, __read, __write, __write, clone, ice_dispatch, ice_dispatch, ice_operationAttributes, ice_ping, ice_ping, ice_postUnmarshal, ice_preMarshaldestroypublic static final java.lang.String[] __ids
public static final long serialVersionUID
protected void ice_copyStateFrom(Ice.Object __obj) throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedExceptionpublic boolean ice_isA(java.lang.String s)
ice_isA in interface Ice.Objectice_isA in class Ice.ObjectImplpublic boolean ice_isA(java.lang.String s,
Ice.Current __current)
ice_isA in interface Ice.Objectice_isA in class Ice.ObjectImplpublic java.lang.String[] ice_ids()
ice_ids in interface Ice.Objectice_ids in class Ice.ObjectImplpublic java.lang.String[] ice_ids(Ice.Current __current)
ice_ids in interface Ice.Objectice_ids in class Ice.ObjectImplpublic java.lang.String ice_id()
ice_id in interface Ice.Objectice_id in class Ice.ObjectImplpublic java.lang.String ice_id(Ice.Current __current)
ice_id in interface Ice.Objectice_id in class Ice.ObjectImplpublic static java.lang.String ice_staticId()
public final void destroy()
destroy in interface Glacier2._SessionOperationsNCpublic final java.util.List<java.lang.String> activeServices()
throws ServerError
activeServices in interface _ServiceFactoryOperationsNCServerErrorpublic final void closeOnDestroy()
throws ServerError
closeOnDestroy in interface _ServiceFactoryOperationsNCServerErrorpublic final StatefulServiceInterfacePrx createByName(java.lang.String name) throws ServerError
createByName in interface _ServiceFactoryOperationsNCServerErrorpublic final ExporterPrx createExporter() throws ServerError
createExporter in interface _ServiceFactoryOperationsNCServerErrorpublic final JobHandlePrx createJobHandle() throws ServerError
createJobHandle in interface _ServiceFactoryOperationsNCServerErrorpublic final RawFileStorePrx createRawFileStore() throws ServerError
createRawFileStore in interface _ServiceFactoryOperationsNCServerErrorpublic final RawPixelsStorePrx createRawPixelsStore() throws ServerError
createRawPixelsStore in interface _ServiceFactoryOperationsNCServerErrorpublic final RenderingEnginePrx createRenderingEngine() throws ServerError
createRenderingEngine in interface _ServiceFactoryOperationsNCServerErrorpublic final SearchPrx createSearchService() throws ServerError
createSearchService in interface _ServiceFactoryOperationsNCServerErrorpublic final ThumbnailStorePrx createThumbnailStore() throws ServerError
createThumbnailStore in interface _ServiceFactoryOperationsNCServerErrorpublic final void detachOnDestroy()
throws ServerError
detachOnDestroy in interface _ServiceFactoryOperationsNCServerErrorpublic final IAdminPrx getAdminService() throws ServerError
getAdminService in interface _ServiceFactoryOperationsNCServerErrorpublic final ServiceInterfacePrx getByName(java.lang.String name) throws ServerError
getByName in interface _ServiceFactoryOperationsNCServerErrorpublic final IConfigPrx getConfigService() throws ServerError
getConfigService in interface _ServiceFactoryOperationsNCServerErrorpublic final IContainerPrx getContainerService() throws ServerError
getContainerService in interface _ServiceFactoryOperationsNCServerErrorpublic final ILdapPrx getLdapService() throws ServerError
getLdapService in interface _ServiceFactoryOperationsNCServerErrorpublic final IMetadataPrx getMetadataService() throws ServerError
getMetadataService in interface _ServiceFactoryOperationsNCServerErrorpublic final IPixelsPrx getPixelsService() throws ServerError
getPixelsService in interface _ServiceFactoryOperationsNCServerErrorpublic final IProjectionPrx getProjectionService() throws ServerError
getProjectionService in interface _ServiceFactoryOperationsNCServerErrorpublic final IQueryPrx getQueryService() throws ServerError
getQueryService in interface _ServiceFactoryOperationsNCServerErrorpublic final IRenderingSettingsPrx getRenderingSettingsService() throws ServerError
getRenderingSettingsService in interface _ServiceFactoryOperationsNCServerErrorpublic final IRepositoryInfoPrx getRepositoryInfoService() throws ServerError
getRepositoryInfoService in interface _ServiceFactoryOperationsNCServerErrorpublic final IRoiPrx getRoiService() throws ServerError
getRoiService in interface _ServiceFactoryOperationsNCServerErrorpublic final IScriptPrx getScriptService() throws ServerError
getScriptService in interface _ServiceFactoryOperationsNCServerErrorpublic final java.util.List<IObject> getSecurityContexts() throws ServerError
IObject instances can
be passed to setSecurityContext.getSecurityContexts in interface _ServiceFactoryOperationsNCServerErrorpublic final ISessionPrx getSessionService() throws ServerError
getSessionService in interface _ServiceFactoryOperationsNCServerErrorpublic final ISharePrx getShareService() throws ServerError
getShareService in interface _ServiceFactoryOperationsNCServerErrorpublic final ITimelinePrx getTimelineService() throws ServerError
getTimelineService in interface _ServiceFactoryOperationsNCServerErrorpublic final ITypesPrx getTypesService() throws ServerError
getTypesService in interface _ServiceFactoryOperationsNCServerErrorpublic final IUpdatePrx getUpdateService() throws ServerError
getUpdateService in interface _ServiceFactoryOperationsNCServerErrorpublic final boolean keepAlive(ServiceInterfacePrx proxy) throws ServerError
keepAlive in interface _ServiceFactoryOperationsNCServerErrorpublic 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 _ServiceFactoryOperationsNCServerErrorpublic final void setCallback(ClientCallbackPrx callback) throws ServerError
setCallback in interface _ServiceFactoryOperationsNCServerErrorpublic 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 _ServiceFactoryOperationsNCServerErrorpublic final void setSecurityPassword(java.lang.String password)
throws ServerError
setSecurityPassword in interface _ServiceFactoryOperationsNCServerErrorpublic 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 _ServiceFactoryOperationsNCServerErrorSharedResourcespublic final void subscribe(java.lang.String topicName,
Ice.ObjectPrx prx)
throws ServerError
subscribe in interface _ServiceFactoryOperationsNCServerErrorpublic 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.ObjectImplprotected void __writeImpl(IceInternal.BasicStream __os)
__writeImpl in class Ice.ObjectImplprotected void __readImpl(IceInternal.BasicStream __is)
__readImpl in class Ice.ObjectImpl