Class PlatformSessionProviderImpl
- java.lang.Object
-
- org.bonitasoft.engine.platform.session.impl.PlatformSessionProviderImpl
-
- All Implemented Interfaces:
PlatformSessionProvider
@Component @ConditionalOnSingleCandidate(PlatformSessionProvider.class) public final class PlatformSessionProviderImpl extends java.lang.Object implements PlatformSessionProvider
- Author:
- Elias Ricken de Medeiros, Matthieu Chaffotte
-
-
Constructor Summary
Constructors Constructor Description PlatformSessionProviderImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddSession(SPlatformSession session)SPlatformSessiongetSession(long sessionId)voidremoveSession(long sessionId)voidupdateSession(SPlatformSession session)
-
-
-
Method Detail
-
addSession
public void addSession(SPlatformSession session) throws SSessionAlreadyExistsException
- Specified by:
addSessionin interfacePlatformSessionProvider- Throws:
SSessionAlreadyExistsException
-
removeSession
public void removeSession(long sessionId) throws SSessionNotFoundException- Specified by:
removeSessionin interfacePlatformSessionProvider- Throws:
SSessionNotFoundException
-
getSession
public SPlatformSession getSession(long sessionId) throws SSessionNotFoundException
- Specified by:
getSessionin interfacePlatformSessionProvider- Throws:
SSessionNotFoundException
-
updateSession
public void updateSession(SPlatformSession session) throws SSessionNotFoundException
- Specified by:
updateSessionin interfacePlatformSessionProvider- Throws:
SSessionNotFoundException
-
-