public abstract class AbstractCloseableAmdServant extends AbstractAmdServant implements CloseableServant
Constructor and Description |
---|
AbstractCloseableAmdServant(ServiceInterface service,
BlitzExecutor be) |
Modifier and Type | Method and Description |
---|---|
void |
close_async(omero.api.AMD_StatefulServiceInterface_close __cb,
Ice.Current __current)
SessionHandler also
specially catches close() calls, but cannot remove the servant
from the ObjectAdapter and thereby prevent any
further communication. |
void |
close(Ice.Current __current) |
protected abstract void |
postClose(Ice.Current current)
Should not throw any exceptions which should be detected by clients
since it is called in a finally block after the client thread has been
released.
|
protected abstract void |
preClose(Ice.Current current) |
activate_async, applyHardWiredInterceptors, callInvokerOnMappedArgs, callInvokerOnRawArgs, executorWorkCall, getCurrentEventContext_async, onSetOmeroContext, passivate_async, runnableCall, safeRunnableCall, setApplicationContext, setHolder
public AbstractCloseableAmdServant(ServiceInterface service, BlitzExecutor be)
public final void close(Ice.Current __current)
close
in interface CloseableServant
public final void close_async(omero.api.AMD_StatefulServiceInterface_close __cb, Ice.Current __current)
SessionHandler
also
specially catches close() calls, but cannot remove the servant
from the ObjectAdapter
and thereby prevent any
further communication. Once the invocation is finished, though,
it is possible to raise the message and have the servant
cleaned up.protected abstract void preClose(Ice.Current current) throws java.lang.Throwable
java.lang.Throwable
protected abstract void postClose(Ice.Current current)
Version: 5.4.4-ice35-b82
Copyright © 2018 The University of Dundee & Open Microscopy Environment. All Rights Reserved.