Class AbstractSessionProvider
java.lang.Object
org.bonitasoft.engine.session.impl.AbstractSessionProvider
- All Implemented Interfaces:
SessionProvider
- Direct Known Subclasses:
SessionProviderImpl
- Author:
- Baptiste Mesta
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSession(SSession session) voidvoiddeleteSessions(boolean keepTechnicalSessions) getSession(long sessionId) protected SSessionputSession(SSession session, long id) voidremoveSession(long sessionId) voidvoidupdateSession(SSession session)
-
Constructor Details
-
AbstractSessionProvider
public AbstractSessionProvider()
-
-
Method Details
-
getSessions
-
putSession
-
addSession
- Specified by:
addSessionin interfaceSessionProvider- Throws:
SSessionAlreadyExistsException
-
removeSession
- Specified by:
removeSessionin interfaceSessionProvider- Throws:
SSessionNotFoundException
-
getSession
- Specified by:
getSessionin interfaceSessionProvider- Throws:
SSessionNotFoundException
-
updateSession
- Specified by:
updateSessionin interfaceSessionProvider- Throws:
SSessionNotFoundException
-
cleanInvalidSessions
public void cleanInvalidSessions()- Specified by:
cleanInvalidSessionsin interfaceSessionProvider
-
removeSessions
public void removeSessions()- Specified by:
removeSessionsin interfaceSessionProvider
-
deleteSessions
public void deleteSessions(boolean keepTechnicalSessions) - Specified by:
deleteSessionsin interfaceSessionProvider
-