de.esprit.netsuite.rtask

## Interface RemoteTaskCreator<S extends ServerContext>

- All Superinterfaces:
    java.io.Serializable
  All Known Implementing Classes:
    CoServerBindTaskCreator

      public interface RemoteTaskCreator<S extends ServerContext>
      extends java.io.Serializable

  An instance of this type is able to create a `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.
  Author:
    Rainer Buesch

- - ### Method Summary

    Methods
    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.

- - ### Method Detail

    - #### createRemoteTask

          RemoteTask createRemoteTask(S serverCtx,
                                    SessionId sessionId)
                                      throws java.lang.Exception

      Is called when the task needs to be created in the given context.
      Parameters:
        `serverCtx` - the runtime environment of the server
      Throws:
        `java.lang.Exception`

Copyright © 2014 EsprIT-Systems. All Rights Reserved.