-
- All Superinterfaces:
SessionProvider
- All Known Implementing Classes:
AbstractSessionTask
public interface SessionDependable extends SessionProvider
Interface for objects depending on sessions.- Author:
- harald
- See Also:
Session
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisSessionImmutable()Returns 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 Detail
-
setSession
void setSession(Session session)
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
-
-