- All Superinterfaces:
SessionProvider
- All Known Implementing Classes:
AbstractSessionTask
Interface for objects depending on sessions.
- Author:
- harald
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether the session is immutable.voidsetSession(Session session) Sets the logical session for this object.voidsetSessionImmutable(boolean sessionImmutable) Sets the session to immutable.Methods inherited from interface org.tentackle.session.SessionProvider
getSession
-
Method Details
-
setSession
Sets the logical session for this object.- Parameters:
session- the session
-
setSessionImmutable
void setSessionImmutable(boolean sessionImmutable) Sets the session to immutable.- Parameters:
sessionImmutable- true if session cannot be changed anymore
-
isSessionImmutable
boolean isSessionImmutable()Returns whether the session is immutable.- Returns:
- true if immutable
-