Class AbstractStepAsyncServices

java.lang.Object
step.framework.server.AbstractServices<User>
step.core.deployment.AbstractStepServices
step.core.deployment.AbstractStepAsyncServices
Direct Known Subclasses:
AbstractEntityServices, ExecutionServices

public class AbstractStepAsyncServices extends AbstractStepServices
  • Constructor Details

    • AbstractStepAsyncServices

      public AbstractStepAsyncServices()
  • Method Details

    • init

      @PostConstruct public void init() throws Exception
      Overrides:
      init in class AbstractStepServices
      Throws:
      Exception
    • getSession

      protected step.framework.server.Session<User> getSession()
      Overrides:
      getSession in class step.framework.server.AbstractServices<User>
    • scheduleAsyncTaskWithinSessionContext

      protected <R> AsyncTaskStatus<R> scheduleAsyncTaskWithinSessionContext(AsyncTask<R> asyncTask)
    • setCurrentSession

      protected static void setCurrentSession(step.framework.server.Session<User> session)
      Set the current Session for the current thread. This is useful for request that are processed outside the Jetty scope like for AsyncTaskManager
      Parameters:
      session - the current Session