381382383384385386387388389390391
SessionContext context = getSessionContext(); //Destroy context if (context != null) { context.destroy(); } //Clear thread locals sessionContext.set(null); sessionContext.remove();
372373374375376377378379380381382
//Get current session context SessionContext context = sessionContext.get(); //Destroy context if (context != null) { context.destroy(); } //Clear thread locals sessionContext.set(null); sessionContext.remove();
414415416417418419420421422423424
SessionContext context = sessionContext.get(); //Destroy context if (context != null) { context.destroy(); } //Clear thread locals sessionContext.set(null); sessionContext.remove();
7980818283848586878889
public void destroySessionContextWithSessionId(String sessionId) { SessionContext sessionContext = this.sessionContexts.remove(sessionId); if(sessionContext != null) { sessionContext.destroy(); } } /** * Destroys all sessions.
355356357358359360361362363364365
335336337338339340341342343344345