- java.lang.Object
-
- org.tentackle.task.AbstractTask
-
- org.tentackle.session.AbstractSessionTask
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<org.tentackle.task.Task>,java.lang.Runnable,org.tentackle.task.Task
public abstract class AbstractSessionTask extends org.tentackle.task.AbstractTaskA task being executed by theSessionTaskDispatcher.- Author:
- harald
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractSessionTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SessiongetSession()Gets the db the runnable must use.voidsetSession(Session session)Sets the db.
Done bySessionTaskDispatcher.-
Methods inherited from class org.tentackle.task.AbstractTask
addTaskListener, compareTo, equals, fireCompleted, fireStarted, getCause, getCompleted, getDispatcher, getId, getRepeatInterval, getResult, getScheduledEpochalTime, getStarted, hashCode, isInterruptable, removeTaskListener, setCause, setCompleted, setDispatcher, setId, setRepeatInterval, setResult, setScheduledEpochalTime, setStarted
-
-
-
-
Method Detail
-
setSession
public void setSession(Session session)
Sets the db.
Done bySessionTaskDispatcher.- Parameters:
session- the session
-
getSession
public Session getSession()
Gets the db the runnable must use.- Returns:
- the db
-
-