Package omero.api

Class StatefulServiceInterfacePrxHelper

    • Field Detail

      • __ids

        public static final java.lang.String[] __ids
    • Constructor Detail

      • StatefulServiceInterfacePrxHelper

        public StatefulServiceInterfacePrxHelper()
    • Method Detail

      • activate

        public void activate()
                      throws ServerError
        Description copied from interface: StatefulServiceInterfacePrx
        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.
        Specified by:
        activate in interface StatefulServiceInterfacePrx
        Throws:
        ServerError
      • activate

        public void activate​(java.util.Map<java.lang.String,​java.lang.String> __ctx)
                      throws ServerError
        Description copied from interface: StatefulServiceInterfacePrx
        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.
        Specified by:
        activate in interface StatefulServiceInterfacePrx
        Parameters:
        __ctx - The Context map to send with the invocation.
        Throws:
        ServerError
      • begin_activate

        public Ice.AsyncResult begin_activate()
        Description copied from interface: StatefulServiceInterfacePrx
        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.
        Specified by:
        begin_activate in interface StatefulServiceInterfacePrx
        Returns:
        The asynchronous result object.
      • begin_activate

        public Ice.AsyncResult begin_activate​(java.util.Map<java.lang.String,​java.lang.String> __ctx)
        Description copied from interface: StatefulServiceInterfacePrx
        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.
        Specified by:
        begin_activate in interface StatefulServiceInterfacePrx
        Parameters:
        __ctx - The Context map to send with the invocation.
        Returns:
        The asynchronous result object.
      • begin_activate

        public Ice.AsyncResult begin_activate​(Ice.Callback __cb)
        Description copied from interface: StatefulServiceInterfacePrx
        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.
        Specified by:
        begin_activate in interface StatefulServiceInterfacePrx
        Parameters:
        __cb - The asynchronous callback object.
        Returns:
        The asynchronous result object.
      • begin_activate

        public Ice.AsyncResult begin_activate​(java.util.Map<java.lang.String,​java.lang.String> __ctx,
                                              Ice.Callback __cb)
        Description copied from interface: StatefulServiceInterfacePrx
        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.
        Specified by:
        begin_activate in interface StatefulServiceInterfacePrx
        Parameters:
        __ctx - The Context map to send with the invocation.
        __cb - The asynchronous callback object.
        Returns:
        The asynchronous result object.
      • begin_activate

        public Ice.AsyncResult begin_activate​(Callback_StatefulServiceInterface_activate __cb)
        Description copied from interface: StatefulServiceInterfacePrx
        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.
        Specified by:
        begin_activate in interface StatefulServiceInterfacePrx
        Parameters:
        __cb - The asynchronous callback object.
        Returns:
        The asynchronous result object.
      • begin_activate

        public Ice.AsyncResult begin_activate​(java.util.Map<java.lang.String,​java.lang.String> __ctx,
                                              Callback_StatefulServiceInterface_activate __cb)
        Description copied from interface: StatefulServiceInterfacePrx
        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.
        Specified by:
        begin_activate in interface StatefulServiceInterfacePrx
        Parameters:
        __ctx - The Context map to send with the invocation.
        __cb - The asynchronous callback object.
        Returns:
        The asynchronous result object.
      • end_activate

        public void end_activate​(Ice.AsyncResult __iresult)
                          throws ServerError
        Description copied from interface: StatefulServiceInterfacePrx
        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.
        Specified by:
        end_activate in interface StatefulServiceInterfacePrx
        Parameters:
        __iresult - The asynchronous result object.
        Throws:
        ServerError
      • close

        public void close()
                   throws ServerError
        Description copied from interface: StatefulServiceInterfacePrx
        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.
        Specified by:
        close in interface StatefulServiceInterfacePrx
        Throws:
        ServerError
      • close

        public void close​(java.util.Map<java.lang.String,​java.lang.String> __ctx)
                   throws ServerError
        Description copied from interface: StatefulServiceInterfacePrx
        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.
        Specified by:
        close in interface StatefulServiceInterfacePrx
        Parameters:
        __ctx - The Context map to send with the invocation.
        Throws:
        ServerError
      • begin_close

        public Ice.AsyncResult begin_close()
        Description copied from interface: StatefulServiceInterfacePrx
        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.
        Specified by:
        begin_close in interface StatefulServiceInterfacePrx
        Returns:
        The asynchronous result object.
      • begin_close

        public Ice.AsyncResult begin_close​(java.util.Map<java.lang.String,​java.lang.String> __ctx)
        Description copied from interface: StatefulServiceInterfacePrx
        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.
        Specified by:
        begin_close in interface StatefulServiceInterfacePrx
        Parameters:
        __ctx - The Context map to send with the invocation.
        Returns:
        The asynchronous result object.
      • begin_close

        public Ice.AsyncResult begin_close​(Ice.Callback __cb)
        Description copied from interface: StatefulServiceInterfacePrx
        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.
        Specified by:
        begin_close in interface StatefulServiceInterfacePrx
        Parameters:
        __cb - The asynchronous callback object.
        Returns:
        The asynchronous result object.
      • begin_close

        public Ice.AsyncResult begin_close​(java.util.Map<java.lang.String,​java.lang.String> __ctx,
                                           Ice.Callback __cb)
        Description copied from interface: StatefulServiceInterfacePrx
        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.
        Specified by:
        begin_close in interface StatefulServiceInterfacePrx
        Parameters:
        __ctx - The Context map to send with the invocation.
        __cb - The asynchronous callback object.
        Returns:
        The asynchronous result object.
      • begin_close

        public Ice.AsyncResult begin_close​(Callback_StatefulServiceInterface_close __cb)
        Description copied from interface: StatefulServiceInterfacePrx
        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.
        Specified by:
        begin_close in interface StatefulServiceInterfacePrx
        Parameters:
        __cb - The asynchronous callback object.
        Returns:
        The asynchronous result object.
      • begin_close

        public Ice.AsyncResult begin_close​(java.util.Map<java.lang.String,​java.lang.String> __ctx,
                                           Callback_StatefulServiceInterface_close __cb)
        Description copied from interface: StatefulServiceInterfacePrx
        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.
        Specified by:
        begin_close in interface StatefulServiceInterfacePrx
        Parameters:
        __ctx - The Context map to send with the invocation.
        __cb - The asynchronous callback object.
        Returns:
        The asynchronous result object.
      • end_close

        public void end_close​(Ice.AsyncResult __iresult)
                       throws ServerError
        Description copied from interface: StatefulServiceInterfacePrx
        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.
        Specified by:
        end_close in interface StatefulServiceInterfacePrx
        Parameters:
        __iresult - The asynchronous result object.
        Throws:
        ServerError
      • begin_getCurrentEventContext

        public Ice.AsyncResult begin_getCurrentEventContext​(java.util.Map<java.lang.String,​java.lang.String> __ctx)
        Description copied from interface: StatefulServiceInterfacePrx
        To free clients from tracking the mapping from session to stateful service, each stateful service can returns its own context information.
        Specified by:
        begin_getCurrentEventContext in interface StatefulServiceInterfacePrx
        Parameters:
        __ctx - The Context map to send with the invocation.
        Returns:
        The asynchronous result object.
      • begin_getCurrentEventContext

        public Ice.AsyncResult begin_getCurrentEventContext​(java.util.Map<java.lang.String,​java.lang.String> __ctx,
                                                            Ice.Callback __cb)
        Description copied from interface: StatefulServiceInterfacePrx
        To free clients from tracking the mapping from session to stateful service, each stateful service can returns its own context information.
        Specified by:
        begin_getCurrentEventContext in interface StatefulServiceInterfacePrx
        Parameters:
        __ctx - The Context map to send with the invocation.
        __cb - The asynchronous callback object.
        Returns:
        The asynchronous result object.
      • passivate

        public void passivate()
                       throws ServerError
        Description copied from interface: StatefulServiceInterfacePrx
        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.
        Specified by:
        passivate in interface StatefulServiceInterfacePrx
        Throws:
        ServerError
      • passivate

        public void passivate​(java.util.Map<java.lang.String,​java.lang.String> __ctx)
                       throws ServerError
        Description copied from interface: StatefulServiceInterfacePrx
        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.
        Specified by:
        passivate in interface StatefulServiceInterfacePrx
        Parameters:
        __ctx - The Context map to send with the invocation.
        Throws:
        ServerError
      • begin_passivate

        public Ice.AsyncResult begin_passivate()
        Description copied from interface: StatefulServiceInterfacePrx
        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.
        Specified by:
        begin_passivate in interface StatefulServiceInterfacePrx
        Returns:
        The asynchronous result object.
      • begin_passivate

        public Ice.AsyncResult begin_passivate​(java.util.Map<java.lang.String,​java.lang.String> __ctx)
        Description copied from interface: StatefulServiceInterfacePrx
        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.
        Specified by:
        begin_passivate in interface StatefulServiceInterfacePrx
        Parameters:
        __ctx - The Context map to send with the invocation.
        Returns:
        The asynchronous result object.
      • begin_passivate

        public Ice.AsyncResult begin_passivate​(Ice.Callback __cb)
        Description copied from interface: StatefulServiceInterfacePrx
        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.
        Specified by:
        begin_passivate in interface StatefulServiceInterfacePrx
        Parameters:
        __cb - The asynchronous callback object.
        Returns:
        The asynchronous result object.
      • begin_passivate

        public Ice.AsyncResult begin_passivate​(java.util.Map<java.lang.String,​java.lang.String> __ctx,
                                               Ice.Callback __cb)
        Description copied from interface: StatefulServiceInterfacePrx
        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.
        Specified by:
        begin_passivate in interface StatefulServiceInterfacePrx
        Parameters:
        __ctx - The Context map to send with the invocation.
        __cb - The asynchronous callback object.
        Returns:
        The asynchronous result object.
      • begin_passivate

        public Ice.AsyncResult begin_passivate​(Callback_StatefulServiceInterface_passivate __cb)
        Description copied from interface: StatefulServiceInterfacePrx
        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.
        Specified by:
        begin_passivate in interface StatefulServiceInterfacePrx
        Parameters:
        __cb - The asynchronous callback object.
        Returns:
        The asynchronous result object.
      • begin_passivate

        public Ice.AsyncResult begin_passivate​(java.util.Map<java.lang.String,​java.lang.String> __ctx,
                                               Callback_StatefulServiceInterface_passivate __cb)
        Description copied from interface: StatefulServiceInterfacePrx
        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.
        Specified by:
        begin_passivate in interface StatefulServiceInterfacePrx
        Parameters:
        __ctx - The Context map to send with the invocation.
        __cb - The asynchronous callback object.
        Returns:
        The asynchronous result object.
      • end_passivate

        public void end_passivate​(Ice.AsyncResult __iresult)
                           throws ServerError
        Description copied from interface: StatefulServiceInterfacePrx
        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.
        Specified by:
        end_passivate in interface StatefulServiceInterfacePrx
        Parameters:
        __iresult - The asynchronous result object.
        Throws:
        ServerError
      • checkedCast

        public static StatefulServiceInterfacePrx checkedCast​(Ice.ObjectPrx __obj)
        Contacts the remote server to verify that the object implements this type. Raises a local exception if a communication error occurs.
        Parameters:
        __obj - The untyped proxy.
        Returns:
        A proxy for this type, or null if the object does not support this type.
      • checkedCast

        public static StatefulServiceInterfacePrx checkedCast​(Ice.ObjectPrx __obj,
                                                              java.util.Map<java.lang.String,​java.lang.String> __ctx)
        Contacts the remote server to verify that the object implements this type. Raises a local exception if a communication error occurs.
        Parameters:
        __obj - The untyped proxy.
        __ctx - The Context map to send with the invocation.
        Returns:
        A proxy for this type, or null if the object does not support this type.
      • checkedCast

        public static StatefulServiceInterfacePrx checkedCast​(Ice.ObjectPrx __obj,
                                                              java.lang.String __facet)
        Contacts the remote server to verify that a facet of the object implements this type. Raises a local exception if a communication error occurs.
        Parameters:
        __obj - The untyped proxy.
        __facet - The name of the desired facet.
        Returns:
        A proxy for this type, or null if the object does not support this type.
      • checkedCast

        public static StatefulServiceInterfacePrx checkedCast​(Ice.ObjectPrx __obj,
                                                              java.lang.String __facet,
                                                              java.util.Map<java.lang.String,​java.lang.String> __ctx)
        Contacts the remote server to verify that a facet of the object implements this type. Raises a local exception if a communication error occurs.
        Parameters:
        __obj - The untyped proxy.
        __facet - The name of the desired facet.
        __ctx - The Context map to send with the invocation.
        Returns:
        A proxy for this type, or null if the object does not support this type.
      • uncheckedCast

        public static StatefulServiceInterfacePrx uncheckedCast​(Ice.ObjectPrx __obj)
        Downcasts the given proxy to this type without contacting the remote server.
        Parameters:
        __obj - The untyped proxy.
        Returns:
        A proxy for this type.
      • uncheckedCast

        public static StatefulServiceInterfacePrx uncheckedCast​(Ice.ObjectPrx __obj,
                                                                java.lang.String __facet)
        Downcasts the given proxy to this type without contacting the remote server.
        Parameters:
        __obj - The untyped proxy.
        __facet - The name of the desired facet.
        Returns:
        A proxy for this type.
      • ice_staticId

        public static java.lang.String ice_staticId()
        Provides the Slice type ID of this type.
        Returns:
        The Slice type ID.