public class DefaultSessionManager extends Object implements SessionManager
Modifier and Type | Method and Description |
---|---|
void |
addSession(Session session) |
void |
expireSession(Session session) |
static SessionManager |
getSingleton() |
Session[] |
queryAllSessions() |
Session |
querySessionById(String sessionId) |
public static SessionManager getSingleton()
public void addSession(Session session)
addSession
in interface SessionManager
public void expireSession(Session session)
expireSession
in interface SessionManager
public Session[] queryAllSessions()
queryAllSessions
in interface SessionManager
public Session querySessionById(String sessionId)
querySessionById
in interface SessionManager
Copyright © 2006–2018 TinyGroup. All rights reserved.