public abstract class AbstractCloseableAmdServant extends AbstractAmdServant implements CloseableServant
Constructor and Description |
---|
AbstractCloseableAmdServant(ome.api.ServiceInterface service,
BlitzExecutor be) |
Modifier and Type | Method and Description |
---|---|
void |
close_async(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(ome.api.ServiceInterface service, BlitzExecutor be)
public final void close(Ice.Current __current)
close
in interface CloseableServant
public final void close_async(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)