Package omero.api

Interface StatefulServiceInterfacePrx

    • 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​(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​(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​(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.
      • 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