Package step.core.deployment
Class AbstractStepAsyncServices
java.lang.Object
step.framework.server.AbstractServices<User>
step.core.deployment.AbstractStepServices
step.core.deployment.AbstractStepAsyncServices
- Direct Known Subclasses:
AbstractEntityServices
,ExecutionServices
-
Field Summary
Fields inherited from class step.core.deployment.AbstractStepServices
configuration, SESSION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected step.framework.server.Session<User>
void
init()
protected <R> AsyncTaskStatus<R>
scheduleAsyncTaskWithinSessionContext
(AsyncTask<R> asyncTask) protected static void
setCurrentSession
(step.framework.server.Session<User> session) Set the currentSession
for the current thread.Methods inherited from class step.core.deployment.AbstractStepServices
checkRightsOnBehalfOf, getAuthorizationManager, getContext, getExecutionRunnable, getObjectEnricher, getObjectFilter, getScheduler
Methods inherited from class step.framework.server.AbstractServices
getAbstractContext, getHttpSession, getSession, invalidateSession, setHttpServletRequest, setSession
-
Constructor Details
-
AbstractStepAsyncServices
public AbstractStepAsyncServices()
-
-
Method Details
-
init
- Overrides:
init
in classAbstractStepServices
- Throws:
Exception
-
getSession
- Overrides:
getSession
in classstep.framework.server.AbstractServices<User>
-
scheduleAsyncTaskWithinSessionContext
-
setCurrentSession
Set the currentSession
for the current thread. This is useful for request that are processed outside the Jetty scope like forAsyncTaskManager
- Parameters:
session
- the currentSession
-