public interface RemoteTaskCreator<S extends ServerContext>
extends java.io.Serializable
RemoteTask
instance.
It is needed because RemoteTask
instances are not serializable
and need to be created in their local runtime environment. By using this
container the client can tell the server, which task should to be created
in the servers context.Modifier and Type | Method and Description |
---|---|
RemoteTask |
createRemoteTask(S serverCtx,
SessionId sessionId)
Is called when the task needs to be created in the given context.
|
RemoteTask createRemoteTask(S serverCtx, SessionId sessionId) throws java.lang.Exception
serverCtx
- the runtime environment of the serverjava.lang.Exception
Copyright © 2014 EsprIT-Systems. All Rights Reserved.