Package omero.api
Interface StatefulServiceInterfacePrx
-
- All Superinterfaces:
Ice.ObjectPrx
,ServiceInterfacePrx
- All Known Subinterfaces:
ExporterPrx
,ImportProcessPrx
,JobHandlePrx
,MetadataStorePrx
,PyramidServicePrx
,RawFileStorePrx
,RawPixelsStorePrx
,RenderingEnginePrx
,SearchPrx
,ThumbnailStorePrx
- All Known Implementing Classes:
ExporterPrxHelper
,ImportProcessPrxHelper
,JobHandlePrxHelper
,MetadataStorePrxHelper
,PyramidServicePrxHelper
,RawFileStorePrxHelper
,RawPixelsStorePrxHelper
,RenderingEnginePrxHelper
,SearchPrxHelper
,StatefulServiceInterfacePrxHelper
,ThumbnailStorePrxHelper
public interface StatefulServiceInterfacePrx extends ServiceInterfacePrx
Service marker for stateful services which permits the closing of a particular service before the destruction of the session.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
activate()
Load a service implementation from disk if it was previously passivated.void
activate(java.util.Map<java.lang.String,java.lang.String> __ctx)
Load a service implementation from disk if it was previously passivated.Ice.AsyncResult
begin_activate()
Load a service implementation from disk if it was previously passivated.Ice.AsyncResult
begin_activate(Ice.Callback __cb)
Load a service implementation from disk if it was previously passivated.Ice.AsyncResult
begin_activate(IceInternal.Functional_VoidCallback __responseCb, IceInternal.Functional_GenericCallback1<Ice.UserException> __userExceptionCb, IceInternal.Functional_GenericCallback1<Ice.Exception> __exceptionCb)
Load a service implementation from disk if it was previously passivated.Ice.AsyncResult
begin_activate(IceInternal.Functional_VoidCallback __responseCb, IceInternal.Functional_GenericCallback1<Ice.UserException> __userExceptionCb, IceInternal.Functional_GenericCallback1<Ice.Exception> __exceptionCb, IceInternal.Functional_BoolCallback __sentCb)
Load a service implementation from disk if it was previously passivated.Ice.AsyncResult
begin_activate(java.util.Map<java.lang.String,java.lang.String> __ctx)
Load a service implementation from disk if it was previously passivated.Ice.AsyncResult
begin_activate(java.util.Map<java.lang.String,java.lang.String> __ctx, Ice.Callback __cb)
Load a service implementation from disk if it was previously passivated.Ice.AsyncResult
begin_activate(java.util.Map<java.lang.String,java.lang.String> __ctx, IceInternal.Functional_VoidCallback __responseCb, IceInternal.Functional_GenericCallback1<Ice.UserException> __userExceptionCb, IceInternal.Functional_GenericCallback1<Ice.Exception> __exceptionCb)
Load a service implementation from disk if it was previously passivated.Ice.AsyncResult
begin_activate(java.util.Map<java.lang.String,java.lang.String> __ctx, IceInternal.Functional_VoidCallback __responseCb, IceInternal.Functional_GenericCallback1<Ice.UserException> __userExceptionCb, IceInternal.Functional_GenericCallback1<Ice.Exception> __exceptionCb, IceInternal.Functional_BoolCallback __sentCb)
Load a service implementation from disk if it was previously passivated.Ice.AsyncResult
begin_activate(java.util.Map<java.lang.String,java.lang.String> __ctx, Callback_StatefulServiceInterface_activate __cb)
Load a service implementation from disk if it was previously passivated.Ice.AsyncResult
begin_activate(Callback_StatefulServiceInterface_activate __cb)
Load a service implementation from disk if it was previously passivated.Ice.AsyncResult
begin_close()
Frees all resources -- passivated or active -- for the given stateful service and removes its name from the object adapter.Ice.AsyncResult
begin_close(Ice.Callback __cb)
Frees all resources -- passivated or active -- for the given stateful service and removes its name from the object adapter.Ice.AsyncResult
begin_close(IceInternal.Functional_VoidCallback __responseCb, IceInternal.Functional_GenericCallback1<Ice.UserException> __userExceptionCb, IceInternal.Functional_GenericCallback1<Ice.Exception> __exceptionCb)
Frees all resources -- passivated or active -- for the given stateful service and removes its name from the object adapter.Ice.AsyncResult
begin_close(IceInternal.Functional_VoidCallback __responseCb, IceInternal.Functional_GenericCallback1<Ice.UserException> __userExceptionCb, IceInternal.Functional_GenericCallback1<Ice.Exception> __exceptionCb, IceInternal.Functional_BoolCallback __sentCb)
Frees all resources -- passivated or active -- for the given stateful service and removes its name from the object adapter.Ice.AsyncResult
begin_close(java.util.Map<java.lang.String,java.lang.String> __ctx)
Frees all resources -- passivated or active -- for the given stateful service and removes its name from the object adapter.Ice.AsyncResult
begin_close(java.util.Map<java.lang.String,java.lang.String> __ctx, Ice.Callback __cb)
Frees all resources -- passivated or active -- for the given stateful service and removes its name from the object adapter.Ice.AsyncResult
begin_close(java.util.Map<java.lang.String,java.lang.String> __ctx, IceInternal.Functional_VoidCallback __responseCb, IceInternal.Functional_GenericCallback1<Ice.UserException> __userExceptionCb, IceInternal.Functional_GenericCallback1<Ice.Exception> __exceptionCb)
Frees all resources -- passivated or active -- for the given stateful service and removes its name from the object adapter.Ice.AsyncResult
begin_close(java.util.Map<java.lang.String,java.lang.String> __ctx, IceInternal.Functional_VoidCallback __responseCb, IceInternal.Functional_GenericCallback1<Ice.UserException> __userExceptionCb, IceInternal.Functional_GenericCallback1<Ice.Exception> __exceptionCb, IceInternal.Functional_BoolCallback __sentCb)
Frees all resources -- passivated or active -- for the given stateful service and removes its name from the object adapter.Ice.AsyncResult
begin_close(java.util.Map<java.lang.String,java.lang.String> __ctx, Callback_StatefulServiceInterface_close __cb)
Frees all resources -- passivated or active -- for the given stateful service and removes its name from the object adapter.Ice.AsyncResult
begin_close(Callback_StatefulServiceInterface_close __cb)
Frees all resources -- passivated or active -- for the given stateful service and removes its name from the object adapter.Ice.AsyncResult
begin_getCurrentEventContext()
To free clients from tracking the mapping from session to stateful service, each stateful service can returns its own context information.Ice.AsyncResult
begin_getCurrentEventContext(Ice.Callback __cb)
To free clients from tracking the mapping from session to stateful service, each stateful service can returns its own context information.Ice.AsyncResult
begin_getCurrentEventContext(IceInternal.Functional_GenericCallback1<EventContext> __responseCb, IceInternal.Functional_GenericCallback1<Ice.UserException> __userExceptionCb, IceInternal.Functional_GenericCallback1<Ice.Exception> __exceptionCb)
To free clients from tracking the mapping from session to stateful service, each stateful service can returns its own context information.Ice.AsyncResult
begin_getCurrentEventContext(IceInternal.Functional_GenericCallback1<EventContext> __responseCb, IceInternal.Functional_GenericCallback1<Ice.UserException> __userExceptionCb, IceInternal.Functional_GenericCallback1<Ice.Exception> __exceptionCb, IceInternal.Functional_BoolCallback __sentCb)
To free clients from tracking the mapping from session to stateful service, each stateful service can returns its own context information.Ice.AsyncResult
begin_getCurrentEventContext(java.util.Map<java.lang.String,java.lang.String> __ctx)
To free clients from tracking the mapping from session to stateful service, each stateful service can returns its own context information.Ice.AsyncResult
begin_getCurrentEventContext(java.util.Map<java.lang.String,java.lang.String> __ctx, Ice.Callback __cb)
To free clients from tracking the mapping from session to stateful service, each stateful service can returns its own context information.Ice.AsyncResult
begin_getCurrentEventContext(java.util.Map<java.lang.String,java.lang.String> __ctx, IceInternal.Functional_GenericCallback1<EventContext> __responseCb, IceInternal.Functional_GenericCallback1<Ice.UserException> __userExceptionCb, IceInternal.Functional_GenericCallback1<Ice.Exception> __exceptionCb)
To free clients from tracking the mapping from session to stateful service, each stateful service can returns its own context information.Ice.AsyncResult
begin_getCurrentEventContext(java.util.Map<java.lang.String,java.lang.String> __ctx, IceInternal.Functional_GenericCallback1<EventContext> __responseCb, IceInternal.Functional_GenericCallback1<Ice.UserException> __userExceptionCb, IceInternal.Functional_GenericCallback1<Ice.Exception> __exceptionCb, IceInternal.Functional_BoolCallback __sentCb)
To free clients from tracking the mapping from session to stateful service, each stateful service can returns its own context information.Ice.AsyncResult
begin_getCurrentEventContext(java.util.Map<java.lang.String,java.lang.String> __ctx, Callback_StatefulServiceInterface_getCurrentEventContext __cb)
To free clients from tracking the mapping from session to stateful service, each stateful service can returns its own context information.Ice.AsyncResult
begin_getCurrentEventContext(Callback_StatefulServiceInterface_getCurrentEventContext __cb)
To free clients from tracking the mapping from session to stateful service, each stateful service can returns its own context information.Ice.AsyncResult
begin_passivate()
Causes the blitz server to store the service implementation to disk to free memory.Ice.AsyncResult
begin_passivate(Ice.Callback __cb)
Causes the blitz server to store the service implementation to disk to free memory.Ice.AsyncResult
begin_passivate(IceInternal.Functional_VoidCallback __responseCb, IceInternal.Functional_GenericCallback1<Ice.UserException> __userExceptionCb, IceInternal.Functional_GenericCallback1<Ice.Exception> __exceptionCb)
Causes the blitz server to store the service implementation to disk to free memory.Ice.AsyncResult
begin_passivate(IceInternal.Functional_VoidCallback __responseCb, IceInternal.Functional_GenericCallback1<Ice.UserException> __userExceptionCb, IceInternal.Functional_GenericCallback1<Ice.Exception> __exceptionCb, IceInternal.Functional_BoolCallback __sentCb)
Causes the blitz server to store the service implementation to disk to free memory.Ice.AsyncResult
begin_passivate(java.util.Map<java.lang.String,java.lang.String> __ctx)
Causes the blitz server to store the service implementation to disk to free memory.Ice.AsyncResult
begin_passivate(java.util.Map<java.lang.String,java.lang.String> __ctx, Ice.Callback __cb)
Causes the blitz server to store the service implementation to disk to free memory.Ice.AsyncResult
begin_passivate(java.util.Map<java.lang.String,java.lang.String> __ctx, IceInternal.Functional_VoidCallback __responseCb, IceInternal.Functional_GenericCallback1<Ice.UserException> __userExceptionCb, IceInternal.Functional_GenericCallback1<Ice.Exception> __exceptionCb)
Causes the blitz server to store the service implementation to disk to free memory.Ice.AsyncResult
begin_passivate(java.util.Map<java.lang.String,java.lang.String> __ctx, IceInternal.Functional_VoidCallback __responseCb, IceInternal.Functional_GenericCallback1<Ice.UserException> __userExceptionCb, IceInternal.Functional_GenericCallback1<Ice.Exception> __exceptionCb, IceInternal.Functional_BoolCallback __sentCb)
Causes the blitz server to store the service implementation to disk to free memory.Ice.AsyncResult
begin_passivate(java.util.Map<java.lang.String,java.lang.String> __ctx, Callback_StatefulServiceInterface_passivate __cb)
Causes the blitz server to store the service implementation to disk to free memory.Ice.AsyncResult
begin_passivate(Callback_StatefulServiceInterface_passivate __cb)
Causes the blitz server to store the service implementation to disk to free memory.void
close()
Frees all resources -- passivated or active -- for the given stateful service and removes its name from the object adapter.void
close(java.util.Map<java.lang.String,java.lang.String> __ctx)
Frees all resources -- passivated or active -- for the given stateful service and removes its name from the object adapter.void
end_activate(Ice.AsyncResult __result)
Load a service implementation from disk if it was previously passivated.void
end_close(Ice.AsyncResult __result)
Frees all resources -- passivated or active -- for the given stateful service and removes its name from the object adapter.EventContext
end_getCurrentEventContext(Ice.AsyncResult __result)
To free clients from tracking the mapping from session to stateful service, each stateful service can returns its own context information.void
end_passivate(Ice.AsyncResult __result)
Causes the blitz server to store the service implementation to disk to free memory.EventContext
getCurrentEventContext()
To free clients from tracking the mapping from session to stateful service, each stateful service can returns its own context information.EventContext
getCurrentEventContext(java.util.Map<java.lang.String,java.lang.String> __ctx)
To free clients from tracking the mapping from session to stateful service, each stateful service can returns its own context information.void
passivate()
Causes the blitz server to store the service implementation to disk to free memory.void
passivate(java.util.Map<java.lang.String,java.lang.String> __ctx)
Causes the blitz server to store the service implementation to disk to free memory.-
Methods inherited from interface Ice.ObjectPrx
begin_ice_flushBatchRequests, begin_ice_flushBatchRequests, begin_ice_flushBatchRequests, begin_ice_flushBatchRequests, begin_ice_getConnection, begin_ice_getConnection, begin_ice_getConnection, begin_ice_getConnection, begin_ice_id, begin_ice_id, begin_ice_id, begin_ice_id, begin_ice_id, begin_ice_id, begin_ice_id, begin_ice_id, begin_ice_id, begin_ice_id, begin_ice_ids, begin_ice_ids, begin_ice_ids, begin_ice_ids, begin_ice_ids, begin_ice_ids, begin_ice_ids, begin_ice_ids, begin_ice_ids, begin_ice_ids, begin_ice_invoke, begin_ice_invoke, begin_ice_invoke, begin_ice_invoke, begin_ice_invoke, begin_ice_invoke, begin_ice_invoke, begin_ice_invoke, begin_ice_invoke, begin_ice_invoke, begin_ice_isA, begin_ice_isA, begin_ice_isA, begin_ice_isA, begin_ice_isA, begin_ice_isA, begin_ice_isA, begin_ice_isA, begin_ice_isA, begin_ice_isA, begin_ice_ping, begin_ice_ping, begin_ice_ping, begin_ice_ping, begin_ice_ping, begin_ice_ping, begin_ice_ping, begin_ice_ping, begin_ice_ping, begin_ice_ping, end_ice_flushBatchRequests, end_ice_getConnection, end_ice_id, end_ice_ids, end_ice_invoke, end_ice_isA, end_ice_ping, equals, ice_adapterId, ice_batchDatagram, ice_batchOneway, ice_collocationOptimized, ice_compress, ice_connectionCached, ice_connectionId, ice_context, ice_datagram, ice_encodingVersion, ice_endpoints, ice_endpointSelection, ice_facet, ice_flushBatchRequests, ice_getAdapterId, ice_getCachedConnection, ice_getCommunicator, ice_getConnection, ice_getConnectionId, ice_getContext, ice_getEncodingVersion, ice_getEndpoints, ice_getEndpointSelection, ice_getFacet, ice_getIdentity, ice_getInvocationTimeout, ice_getLocator, ice_getLocatorCacheTimeout, ice_getRouter, ice_id, ice_id, ice_identity, ice_ids, ice_ids, ice_invocationTimeout, ice_invoke, ice_invoke, ice_isA, ice_isA, ice_isBatchDatagram, ice_isBatchOneway, ice_isCollocationOptimized, ice_isConnectionCached, ice_isDatagram, ice_isOneway, ice_isPreferSecure, ice_isSecure, ice_isTwoway, ice_locator, ice_locatorCacheTimeout, ice_oneway, ice_ping, ice_ping, ice_preferSecure, ice_router, ice_secure, ice_timeout, ice_twoway
-
-
-
-
Method Detail
-
passivate
void passivate() throws ServerError
Causes the blitz server to store the service implementation to disk to free memory. This is typically done automatically by the server when a pre-defined memory limit is reached, but can be used by the client if it clear that a stateful service will not be used for some time. Activation will happen automatically whether passivation was done manually or automatically.- Throws:
ServerError
-
passivate
void passivate(java.util.Map<java.lang.String,java.lang.String> __ctx) throws ServerError
Causes the blitz server to store the service implementation to disk to free memory. This is typically done automatically by the server when a pre-defined memory limit is reached, but can be used by the client if it clear that a stateful service will not be used for some time. Activation will happen automatically whether passivation was done manually or automatically.- Parameters:
__ctx
- The Context map to send with the invocation.- Throws:
ServerError
-
begin_passivate
Ice.AsyncResult begin_passivate()
Causes the blitz server to store the service implementation to disk to free memory. This is typically done automatically by the server when a pre-defined memory limit is reached, but can be used by the client if it clear that a stateful service will not be used for some time. Activation will happen automatically whether passivation was done manually or automatically.- Returns:
- The asynchronous result object.
-
begin_passivate
Ice.AsyncResult begin_passivate(java.util.Map<java.lang.String,java.lang.String> __ctx)
Causes the blitz server to store the service implementation to disk to free memory. This is typically done automatically by the server when a pre-defined memory limit is reached, but can be used by the client if it clear that a stateful service will not be used for some time. Activation will happen automatically whether passivation was done manually or automatically.- Parameters:
__ctx
- The Context map to send with the invocation.- Returns:
- The asynchronous result object.
-
begin_passivate
Ice.AsyncResult begin_passivate(Ice.Callback __cb)
Causes the blitz server to store the service implementation to disk to free memory. This is typically done automatically by the server when a pre-defined memory limit is reached, but can be used by the client if it clear that a stateful service will not be used for some time. Activation will happen automatically whether passivation was done manually or automatically.- Parameters:
__cb
- The asynchronous callback object.- Returns:
- The asynchronous result object.
-
begin_passivate
Ice.AsyncResult begin_passivate(java.util.Map<java.lang.String,java.lang.String> __ctx, Ice.Callback __cb)
Causes the blitz server to store the service implementation to disk to free memory. This is typically done automatically by the server when a pre-defined memory limit is reached, but can be used by the client if it clear that a stateful service will not be used for some time. Activation will happen automatically whether passivation was done manually or automatically.- Parameters:
__ctx
- The Context map to send with the invocation.__cb
- The asynchronous callback object.- Returns:
- The asynchronous result object.
-
begin_passivate
Ice.AsyncResult begin_passivate(Callback_StatefulServiceInterface_passivate __cb)
Causes the blitz server to store the service implementation to disk to free memory. This is typically done automatically by the server when a pre-defined memory limit is reached, but can be used by the client if it clear that a stateful service will not be used for some time. Activation will happen automatically whether passivation was done manually or automatically.- Parameters:
__cb
- The asynchronous callback object.- Returns:
- The asynchronous result object.
-
begin_passivate
Ice.AsyncResult begin_passivate(java.util.Map<java.lang.String,java.lang.String> __ctx, Callback_StatefulServiceInterface_passivate __cb)
Causes the blitz server to store the service implementation to disk to free memory. This is typically done automatically by the server when a pre-defined memory limit is reached, but can be used by the client if it clear that a stateful service will not be used for some time. Activation will happen automatically whether passivation was done manually or automatically.- Parameters:
__ctx
- The Context map to send with the invocation.__cb
- The asynchronous callback object.- Returns:
- The asynchronous result object.
-
begin_passivate
Ice.AsyncResult begin_passivate(IceInternal.Functional_VoidCallback __responseCb, IceInternal.Functional_GenericCallback1<Ice.UserException> __userExceptionCb, IceInternal.Functional_GenericCallback1<Ice.Exception> __exceptionCb)
Causes the blitz server to store the service implementation to disk to free memory. This is typically done automatically by the server when a pre-defined memory limit is reached, but can be used by the client if it clear that a stateful service will not be used for some time. Activation will happen automatically whether passivation was done manually or automatically.- Parameters:
__responseCb
- The lambda response callback.__userExceptionCb
- The lambda user exception callback.__exceptionCb
- The lambda exception callback.- Returns:
- The asynchronous result object.
-
begin_passivate
Ice.AsyncResult begin_passivate(IceInternal.Functional_VoidCallback __responseCb, IceInternal.Functional_GenericCallback1<Ice.UserException> __userExceptionCb, IceInternal.Functional_GenericCallback1<Ice.Exception> __exceptionCb, IceInternal.Functional_BoolCallback __sentCb)
Causes the blitz server to store the service implementation to disk to free memory. This is typically done automatically by the server when a pre-defined memory limit is reached, but can be used by the client if it clear that a stateful service will not be used for some time. Activation will happen automatically whether passivation was done manually or automatically.- Parameters:
__responseCb
- The lambda response callback.__userExceptionCb
- The lambda user exception callback.__exceptionCb
- The lambda exception callback.__sentCb
- The lambda sent callback.- Returns:
- The asynchronous result object.
-
begin_passivate
Ice.AsyncResult begin_passivate(java.util.Map<java.lang.String,java.lang.String> __ctx, IceInternal.Functional_VoidCallback __responseCb, IceInternal.Functional_GenericCallback1<Ice.UserException> __userExceptionCb, IceInternal.Functional_GenericCallback1<Ice.Exception> __exceptionCb)
Causes the blitz server to store the service implementation to disk to free memory. This is typically done automatically by the server when a pre-defined memory limit is reached, but can be used by the client if it clear that a stateful service will not be used for some time. Activation will happen automatically whether passivation was done manually or automatically.- Parameters:
__ctx
- The Context map to send with the invocation.__responseCb
- The lambda response callback.__userExceptionCb
- The lambda user exception callback.__exceptionCb
- The lambda exception callback.- Returns:
- The asynchronous result object.
-
begin_passivate
Ice.AsyncResult begin_passivate(java.util.Map<java.lang.String,java.lang.String> __ctx, IceInternal.Functional_VoidCallback __responseCb, IceInternal.Functional_GenericCallback1<Ice.UserException> __userExceptionCb, IceInternal.Functional_GenericCallback1<Ice.Exception> __exceptionCb, IceInternal.Functional_BoolCallback __sentCb)
Causes the blitz server to store the service implementation to disk to free memory. This is typically done automatically by the server when a pre-defined memory limit is reached, but can be used by the client if it clear that a stateful service will not be used for some time. Activation will happen automatically whether passivation was done manually or automatically.- Parameters:
__ctx
- The Context map to send with the invocation.__responseCb
- The lambda response callback.__userExceptionCb
- The lambda user exception callback.__exceptionCb
- The lambda exception callback.__sentCb
- The lambda sent callback.- Returns:
- The asynchronous result object.
-
end_passivate
void end_passivate(Ice.AsyncResult __result) throws ServerError
Causes the blitz server to store the service implementation to disk to free memory. This is typically done automatically by the server when a pre-defined memory limit is reached, but can be used by the client if it clear that a stateful service will not be used for some time. Activation will happen automatically whether passivation was done manually or automatically.- Parameters:
__result
- The asynchronous result object.- Throws:
ServerError
-
activate
void activate() throws ServerError
Load a service implementation from disk if it was previously passivated. It is unnecessary to call this method since activation happens automatically, but calling this may prevent a short lapse when the service is first accessed after passivation. It is safe to call this method at any time, even when the service is not passivated.- Throws:
ServerError
-
activate
void activate(java.util.Map<java.lang.String,java.lang.String> __ctx) throws ServerError
Load a service implementation from disk if it was previously passivated. It is unnecessary to call this method since activation happens automatically, but calling this may prevent a short lapse when the service is first accessed after passivation. It is safe to call this method at any time, even when the service is not passivated.- Parameters:
__ctx
- The Context map to send with the invocation.- Throws:
ServerError
-
begin_activate
Ice.AsyncResult begin_activate()
Load a service implementation from disk if it was previously passivated. It is unnecessary to call this method since activation happens automatically, but calling this may prevent a short lapse when the service is first accessed after passivation. It is safe to call this method at any time, even when the service is not passivated.- Returns:
- The asynchronous result object.
-
begin_activate
Ice.AsyncResult begin_activate(java.util.Map<java.lang.String,java.lang.String> __ctx)
Load a service implementation from disk if it was previously passivated. It is unnecessary to call this method since activation happens automatically, but calling this may prevent a short lapse when the service is first accessed after passivation. It is safe to call this method at any time, even when the service is not passivated.- Parameters:
__ctx
- The Context map to send with the invocation.- Returns:
- The asynchronous result object.
-
begin_activate
Ice.AsyncResult begin_activate(Ice.Callback __cb)
Load a service implementation from disk if it was previously passivated. It is unnecessary to call this method since activation happens automatically, but calling this may prevent a short lapse when the service is first accessed after passivation. It is safe to call this method at any time, even when the service is not passivated.- Parameters:
__cb
- The asynchronous callback object.- Returns:
- The asynchronous result object.
-
begin_activate
Ice.AsyncResult begin_activate(java.util.Map<java.lang.String,java.lang.String> __ctx, Ice.Callback __cb)
Load a service implementation from disk if it was previously passivated. It is unnecessary to call this method since activation happens automatically, but calling this may prevent a short lapse when the service is first accessed after passivation. It is safe to call this method at any time, even when the service is not passivated.- Parameters:
__ctx
- The Context map to send with the invocation.__cb
- The asynchronous callback object.- Returns:
- The asynchronous result object.
-
begin_activate
Ice.AsyncResult begin_activate(Callback_StatefulServiceInterface_activate __cb)
Load a service implementation from disk if it was previously passivated. It is unnecessary to call this method since activation happens automatically, but calling this may prevent a short lapse when the service is first accessed after passivation. It is safe to call this method at any time, even when the service is not passivated.- Parameters:
__cb
- The asynchronous callback object.- Returns:
- The asynchronous result object.
-
begin_activate
Ice.AsyncResult begin_activate(java.util.Map<java.lang.String,java.lang.String> __ctx, Callback_StatefulServiceInterface_activate __cb)
Load a service implementation from disk if it was previously passivated. It is unnecessary to call this method since activation happens automatically, but calling this may prevent a short lapse when the service is first accessed after passivation. It is safe to call this method at any time, even when the service is not passivated.- Parameters:
__ctx
- The Context map to send with the invocation.__cb
- The asynchronous callback object.- Returns:
- The asynchronous result object.
-
begin_activate
Ice.AsyncResult begin_activate(IceInternal.Functional_VoidCallback __responseCb, IceInternal.Functional_GenericCallback1<Ice.UserException> __userExceptionCb, IceInternal.Functional_GenericCallback1<Ice.Exception> __exceptionCb)
Load a service implementation from disk if it was previously passivated. It is unnecessary to call this method since activation happens automatically, but calling this may prevent a short lapse when the service is first accessed after passivation. It is safe to call this method at any time, even when the service is not passivated.- Parameters:
__responseCb
- The lambda response callback.__userExceptionCb
- The lambda user exception callback.__exceptionCb
- The lambda exception callback.- Returns:
- The asynchronous result object.
-
begin_activate
Ice.AsyncResult begin_activate(IceInternal.Functional_VoidCallback __responseCb, IceInternal.Functional_GenericCallback1<Ice.UserException> __userExceptionCb, IceInternal.Functional_GenericCallback1<Ice.Exception> __exceptionCb, IceInternal.Functional_BoolCallback __sentCb)
Load a service implementation from disk if it was previously passivated. It is unnecessary to call this method since activation happens automatically, but calling this may prevent a short lapse when the service is first accessed after passivation. It is safe to call this method at any time, even when the service is not passivated.- Parameters:
__responseCb
- The lambda response callback.__userExceptionCb
- The lambda user exception callback.__exceptionCb
- The lambda exception callback.__sentCb
- The lambda sent callback.- Returns:
- The asynchronous result object.
-
begin_activate
Ice.AsyncResult begin_activate(java.util.Map<java.lang.String,java.lang.String> __ctx, IceInternal.Functional_VoidCallback __responseCb, IceInternal.Functional_GenericCallback1<Ice.UserException> __userExceptionCb, IceInternal.Functional_GenericCallback1<Ice.Exception> __exceptionCb)
Load a service implementation from disk if it was previously passivated. It is unnecessary to call this method since activation happens automatically, but calling this may prevent a short lapse when the service is first accessed after passivation. It is safe to call this method at any time, even when the service is not passivated.- Parameters:
__ctx
- The Context map to send with the invocation.__responseCb
- The lambda response callback.__userExceptionCb
- The lambda user exception callback.__exceptionCb
- The lambda exception callback.- Returns:
- The asynchronous result object.
-
begin_activate
Ice.AsyncResult begin_activate(java.util.Map<java.lang.String,java.lang.String> __ctx, IceInternal.Functional_VoidCallback __responseCb, IceInternal.Functional_GenericCallback1<Ice.UserException> __userExceptionCb, IceInternal.Functional_GenericCallback1<Ice.Exception> __exceptionCb, IceInternal.Functional_BoolCallback __sentCb)
Load a service implementation from disk if it was previously passivated. It is unnecessary to call this method since activation happens automatically, but calling this may prevent a short lapse when the service is first accessed after passivation. It is safe to call this method at any time, even when the service is not passivated.- Parameters:
__ctx
- The Context map to send with the invocation.__responseCb
- The lambda response callback.__userExceptionCb
- The lambda user exception callback.__exceptionCb
- The lambda exception callback.__sentCb
- The lambda sent callback.- Returns:
- The asynchronous result object.
-
end_activate
void end_activate(Ice.AsyncResult __result) throws ServerError
Load a service implementation from disk if it was previously passivated. It is unnecessary to call this method since activation happens automatically, but calling this may prevent a short lapse when the service is first accessed after passivation. It is safe to call this method at any time, even when the service is not passivated.- Parameters:
__result
- The asynchronous result object.- Throws:
ServerError
-
close
void close() throws ServerError
Frees all resources -- passivated or active -- for the given stateful service and removes its name from the object adapter. Any further method calls will fail with a Ice::NoSuchObjectException. Note: with JavaEE, the close method was called publicly, and internally this called destroy(). As of the OmeroBlitz migration, this functionality has been combined.- Throws:
ServerError
-
close
void close(java.util.Map<java.lang.String,java.lang.String> __ctx) throws ServerError
Frees all resources -- passivated or active -- for the given stateful service and removes its name from the object adapter. Any further method calls will fail with a Ice::NoSuchObjectException. Note: with JavaEE, the close method was called publicly, and internally this called destroy(). As of the OmeroBlitz migration, this functionality has been combined.- Parameters:
__ctx
- The Context map to send with the invocation.- Throws:
ServerError
-
begin_close
Ice.AsyncResult begin_close()
Frees all resources -- passivated or active -- for the given stateful service and removes its name from the object adapter. Any further method calls will fail with a Ice::NoSuchObjectException. Note: with JavaEE, the close method was called publicly, and internally this called destroy(). As of the OmeroBlitz migration, this functionality has been combined.- Returns:
- The asynchronous result object.
-
begin_close
Ice.AsyncResult begin_close(java.util.Map<java.lang.String,java.lang.String> __ctx)
Frees all resources -- passivated or active -- for the given stateful service and removes its name from the object adapter. Any further method calls will fail with a Ice::NoSuchObjectException. Note: with JavaEE, the close method was called publicly, and internally this called destroy(). As of the OmeroBlitz migration, this functionality has been combined.- Parameters:
__ctx
- The Context map to send with the invocation.- Returns:
- The asynchronous result object.
-
begin_close
Ice.AsyncResult begin_close(Ice.Callback __cb)
Frees all resources -- passivated or active -- for the given stateful service and removes its name from the object adapter. Any further method calls will fail with a Ice::NoSuchObjectException. Note: with JavaEE, the close method was called publicly, and internally this called destroy(). As of the OmeroBlitz migration, this functionality has been combined.- Parameters:
__cb
- The asynchronous callback object.- Returns:
- The asynchronous result object.
-
begin_close
Ice.AsyncResult begin_close(java.util.Map<java.lang.String,java.lang.String> __ctx, Ice.Callback __cb)
Frees all resources -- passivated or active -- for the given stateful service and removes its name from the object adapter. Any further method calls will fail with a Ice::NoSuchObjectException. Note: with JavaEE, the close method was called publicly, and internally this called destroy(). As of the OmeroBlitz migration, this functionality has been combined.- Parameters:
__ctx
- The Context map to send with the invocation.__cb
- The asynchronous callback object.- Returns:
- The asynchronous result object.
-
begin_close
Ice.AsyncResult begin_close(Callback_StatefulServiceInterface_close __cb)
Frees all resources -- passivated or active -- for the given stateful service and removes its name from the object adapter. Any further method calls will fail with a Ice::NoSuchObjectException. Note: with JavaEE, the close method was called publicly, and internally this called destroy(). As of the OmeroBlitz migration, this functionality has been combined.- Parameters:
__cb
- The asynchronous callback object.- Returns:
- The asynchronous result object.
-
begin_close
Ice.AsyncResult begin_close(java.util.Map<java.lang.String,java.lang.String> __ctx, Callback_StatefulServiceInterface_close __cb)
Frees all resources -- passivated or active -- for the given stateful service and removes its name from the object adapter. Any further method calls will fail with a Ice::NoSuchObjectException. Note: with JavaEE, the close method was called publicly, and internally this called destroy(). As of the OmeroBlitz migration, this functionality has been combined.- Parameters:
__ctx
- The Context map to send with the invocation.__cb
- The asynchronous callback object.- Returns:
- The asynchronous result object.
-
begin_close
Ice.AsyncResult begin_close(IceInternal.Functional_VoidCallback __responseCb, IceInternal.Functional_GenericCallback1<Ice.UserException> __userExceptionCb, IceInternal.Functional_GenericCallback1<Ice.Exception> __exceptionCb)
Frees all resources -- passivated or active -- for the given stateful service and removes its name from the object adapter. Any further method calls will fail with a Ice::NoSuchObjectException. Note: with JavaEE, the close method was called publicly, and internally this called destroy(). As of the OmeroBlitz migration, this functionality has been combined.- Parameters:
__responseCb
- The lambda response callback.__userExceptionCb
- The lambda user exception callback.__exceptionCb
- The lambda exception callback.- Returns:
- The asynchronous result object.
-
begin_close
Ice.AsyncResult begin_close(IceInternal.Functional_VoidCallback __responseCb, IceInternal.Functional_GenericCallback1<Ice.UserException> __userExceptionCb, IceInternal.Functional_GenericCallback1<Ice.Exception> __exceptionCb, IceInternal.Functional_BoolCallback __sentCb)
Frees all resources -- passivated or active -- for the given stateful service and removes its name from the object adapter. Any further method calls will fail with a Ice::NoSuchObjectException. Note: with JavaEE, the close method was called publicly, and internally this called destroy(). As of the OmeroBlitz migration, this functionality has been combined.- Parameters:
__responseCb
- The lambda response callback.__userExceptionCb
- The lambda user exception callback.__exceptionCb
- The lambda exception callback.__sentCb
- The lambda sent callback.- Returns:
- The asynchronous result object.
-
begin_close
Ice.AsyncResult begin_close(java.util.Map<java.lang.String,java.lang.String> __ctx, IceInternal.Functional_VoidCallback __responseCb, IceInternal.Functional_GenericCallback1<Ice.UserException> __userExceptionCb, IceInternal.Functional_GenericCallback1<Ice.Exception> __exceptionCb)
Frees all resources -- passivated or active -- for the given stateful service and removes its name from the object adapter. Any further method calls will fail with a Ice::NoSuchObjectException. Note: with JavaEE, the close method was called publicly, and internally this called destroy(). As of the OmeroBlitz migration, this functionality has been combined.- Parameters:
__ctx
- The Context map to send with the invocation.__responseCb
- The lambda response callback.__userExceptionCb
- The lambda user exception callback.__exceptionCb
- The lambda exception callback.- Returns:
- The asynchronous result object.
-
begin_close
Ice.AsyncResult begin_close(java.util.Map<java.lang.String,java.lang.String> __ctx, IceInternal.Functional_VoidCallback __responseCb, IceInternal.Functional_GenericCallback1<Ice.UserException> __userExceptionCb, IceInternal.Functional_GenericCallback1<Ice.Exception> __exceptionCb, IceInternal.Functional_BoolCallback __sentCb)
Frees all resources -- passivated or active -- for the given stateful service and removes its name from the object adapter. Any further method calls will fail with a Ice::NoSuchObjectException. Note: with JavaEE, the close method was called publicly, and internally this called destroy(). As of the OmeroBlitz migration, this functionality has been combined.- Parameters:
__ctx
- The Context map to send with the invocation.__responseCb
- The lambda response callback.__userExceptionCb
- The lambda user exception callback.__exceptionCb
- The lambda exception callback.__sentCb
- The lambda sent callback.- Returns:
- The asynchronous result object.
-
end_close
void end_close(Ice.AsyncResult __result) throws ServerError
Frees all resources -- passivated or active -- for the given stateful service and removes its name from the object adapter. Any further method calls will fail with a Ice::NoSuchObjectException. Note: with JavaEE, the close method was called publicly, and internally this called destroy(). As of the OmeroBlitz migration, this functionality has been combined.- Parameters:
__result
- The asynchronous result object.- Throws:
ServerError
-
getCurrentEventContext
EventContext getCurrentEventContext() throws ServerError
To free clients from tracking the mapping from session to stateful service, each stateful service can returns its own context information.- Throws:
ServerError
-
getCurrentEventContext
EventContext getCurrentEventContext(java.util.Map<java.lang.String,java.lang.String> __ctx) throws ServerError
To free clients from tracking the mapping from session to stateful service, each stateful service can returns its own context information.- Parameters:
__ctx
- The Context map to send with the invocation.- Throws:
ServerError
-
begin_getCurrentEventContext
Ice.AsyncResult begin_getCurrentEventContext()
To free clients from tracking the mapping from session to stateful service, each stateful service can returns its own context information.- Returns:
- The asynchronous result object.
-
begin_getCurrentEventContext
Ice.AsyncResult begin_getCurrentEventContext(java.util.Map<java.lang.String,java.lang.String> __ctx)
To free clients from tracking the mapping from session to stateful service, each stateful service can returns its own context information.- Parameters:
__ctx
- The Context map to send with the invocation.- Returns:
- The asynchronous result object.
-
begin_getCurrentEventContext
Ice.AsyncResult begin_getCurrentEventContext(Ice.Callback __cb)
To free clients from tracking the mapping from session to stateful service, each stateful service can returns its own context information.- Parameters:
__cb
- The asynchronous callback object.- Returns:
- The asynchronous result object.
-
begin_getCurrentEventContext
Ice.AsyncResult begin_getCurrentEventContext(java.util.Map<java.lang.String,java.lang.String> __ctx, Ice.Callback __cb)
To free clients from tracking the mapping from session to stateful service, each stateful service can returns its own context information.- Parameters:
__ctx
- The Context map to send with the invocation.__cb
- The asynchronous callback object.- Returns:
- The asynchronous result object.
-
begin_getCurrentEventContext
Ice.AsyncResult begin_getCurrentEventContext(Callback_StatefulServiceInterface_getCurrentEventContext __cb)
To free clients from tracking the mapping from session to stateful service, each stateful service can returns its own context information.- Parameters:
__cb
- The asynchronous callback object.- Returns:
- The asynchronous result object.
-
begin_getCurrentEventContext
Ice.AsyncResult begin_getCurrentEventContext(java.util.Map<java.lang.String,java.lang.String> __ctx, Callback_StatefulServiceInterface_getCurrentEventContext __cb)
To free clients from tracking the mapping from session to stateful service, each stateful service can returns its own context information.- Parameters:
__ctx
- The Context map to send with the invocation.__cb
- The asynchronous callback object.- Returns:
- The asynchronous result object.
-
begin_getCurrentEventContext
Ice.AsyncResult begin_getCurrentEventContext(IceInternal.Functional_GenericCallback1<EventContext> __responseCb, IceInternal.Functional_GenericCallback1<Ice.UserException> __userExceptionCb, IceInternal.Functional_GenericCallback1<Ice.Exception> __exceptionCb)
To free clients from tracking the mapping from session to stateful service, each stateful service can returns its own context information.- Parameters:
__responseCb
- The lambda response callback.__userExceptionCb
- The lambda user exception callback.__exceptionCb
- The lambda exception callback.- Returns:
- The asynchronous result object.
-
begin_getCurrentEventContext
Ice.AsyncResult begin_getCurrentEventContext(IceInternal.Functional_GenericCallback1<EventContext> __responseCb, IceInternal.Functional_GenericCallback1<Ice.UserException> __userExceptionCb, IceInternal.Functional_GenericCallback1<Ice.Exception> __exceptionCb, IceInternal.Functional_BoolCallback __sentCb)
To free clients from tracking the mapping from session to stateful service, each stateful service can returns its own context information.- Parameters:
__responseCb
- The lambda response callback.__userExceptionCb
- The lambda user exception callback.__exceptionCb
- The lambda exception callback.__sentCb
- The lambda sent callback.- Returns:
- The asynchronous result object.
-
begin_getCurrentEventContext
Ice.AsyncResult begin_getCurrentEventContext(java.util.Map<java.lang.String,java.lang.String> __ctx, IceInternal.Functional_GenericCallback1<EventContext> __responseCb, IceInternal.Functional_GenericCallback1<Ice.UserException> __userExceptionCb, IceInternal.Functional_GenericCallback1<Ice.Exception> __exceptionCb)
To free clients from tracking the mapping from session to stateful service, each stateful service can returns its own context information.- Parameters:
__ctx
- The Context map to send with the invocation.__responseCb
- The lambda response callback.__userExceptionCb
- The lambda user exception callback.__exceptionCb
- The lambda exception callback.- Returns:
- The asynchronous result object.
-
begin_getCurrentEventContext
Ice.AsyncResult begin_getCurrentEventContext(java.util.Map<java.lang.String,java.lang.String> __ctx, IceInternal.Functional_GenericCallback1<EventContext> __responseCb, IceInternal.Functional_GenericCallback1<Ice.UserException> __userExceptionCb, IceInternal.Functional_GenericCallback1<Ice.Exception> __exceptionCb, IceInternal.Functional_BoolCallback __sentCb)
To free clients from tracking the mapping from session to stateful service, each stateful service can returns its own context information.- Parameters:
__ctx
- The Context map to send with the invocation.__responseCb
- The lambda response callback.__userExceptionCb
- The lambda user exception callback.__exceptionCb
- The lambda exception callback.__sentCb
- The lambda sent callback.- Returns:
- The asynchronous result object.
-
end_getCurrentEventContext
EventContext end_getCurrentEventContext(Ice.AsyncResult __result) throws ServerError
To free clients from tracking the mapping from session to stateful service, each stateful service can returns its own context information.- Parameters:
__result
- The asynchronous result object.- Throws:
ServerError
-
-