org.wicketstuff.async.task
Interface ITaskManager
- All Known Implementing Classes:
- DefaultTaskManager
public interface ITaskManager
A task manager for managing running tasks. Running tasks can typically not be serialized and should therefore
be managed in a separate container. A default implementation is provided by com.blogspot.mydailyjava.wicket.async.task.DefaultTaskManager#getInstance().
If you prefer for example a Spring managed container, simply implement a DefaultTaskManager by yourself which returns an
AbstractTaskContainer that back references to the Spring managed bean.
makeContainer
AbstractTaskContainer makeContainer(long lifeTime,
TimeUnit unit)
makeOrRenewContainer
AbstractTaskContainer makeOrRenewContainer(String id,
long lifeTime,
TimeUnit unit)
getContainerOrFail
AbstractTaskContainer getContainerOrFail(String id)
cleanUp
void cleanUp()
Copyright © 2013–2014 Kantega AS. All rights reserved.