Class AsyncWebProcessManagerImpl
- java.lang.Object
-
- com.evolveum.midpoint.web.application.AsyncWebProcessManagerImpl
-
- All Implemented Interfaces:
AsyncWebProcessManager
,org.apache.wicket.ISessionListener
public class AsyncWebProcessManagerImpl extends Object implements org.apache.wicket.ISessionListener, AsyncWebProcessManager
Created by Viliam Repan (lazyman).
-
-
Constructor Summary
Constructors Constructor Description AsyncWebProcessManagerImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> AsyncWebProcess<T>
createProcess()
<T> AsyncWebProcess<T>
createProcess(T data)
void
destroy()
AsyncWebProcess
getProcess(@NotNull String processId)
void
onCreated(org.apache.wicket.Session session)
void
onUnbound(String sessionId)
boolean
removeProcess(@NotNull String processId)
void
submit(@NotNull String processId, @NotNull Callable callable)
void
submit(@NotNull String processId, Runnable runnable)
-
-
-
Method Detail
-
destroy
@PreDestroy public void destroy()
-
onCreated
public void onCreated(org.apache.wicket.Session session)
- Specified by:
onCreated
in interfaceorg.apache.wicket.ISessionListener
-
onUnbound
public void onUnbound(String sessionId)
- Specified by:
onUnbound
in interfaceorg.apache.wicket.ISessionListener
-
createProcess
public <T> AsyncWebProcess<T> createProcess(T data)
- Specified by:
createProcess
in interfaceAsyncWebProcessManager
-
createProcess
public <T> AsyncWebProcess<T> createProcess()
- Specified by:
createProcess
in interfaceAsyncWebProcessManager
-
getProcess
public AsyncWebProcess getProcess(@NotNull @NotNull String processId)
- Specified by:
getProcess
in interfaceAsyncWebProcessManager
-
removeProcess
public boolean removeProcess(@NotNull @NotNull String processId)
- Specified by:
removeProcess
in interfaceAsyncWebProcessManager
-
submit
public void submit(@NotNull @NotNull String processId, Runnable runnable)
- Specified by:
submit
in interfaceAsyncWebProcessManager
-
submit
public void submit(@NotNull @NotNull String processId, @NotNull @NotNull Callable callable)
- Specified by:
submit
in interfaceAsyncWebProcessManager
-
-