| java.lang.Object com.tcspring.SessionProtocol
SessionProtocol | public class SessionProtocol (Code) | | Clustering aspects related to http session.
author: Eugene Kuleshov |
captureDestructionCallback | public Object captureDestructionCallback(StaticJoinPoint jp, String name, Runnable callback) throws Throwable(Code) | | See Also: org.springframework.web.context.request.ServletRequestAttributes.registerSessionDestructionCallback(String name, Runnable callback) |
clusterSessionId | public Object clusterSessionId(StaticJoinPoint jp, HttpSession session) throws Throwable(Code) | | Uses clustered http session to store session id, to protect from the case when session id is
different between nodes.
cflow(execution(* org.springframework.web.context.request.SessionScope.getConversationId()))
AND withincode(* org.springframework.web.context.request.ServletRequestAttributes.getSessionId())
AND call(* javax.servlet.http.HttpSession+.getId())
AND target(session)
See Also: org.springframework.web.context.request.SessionScope.getConversationId See Also: org.springframework.web.context.request.ServletRequestAttributes.getSessionId |
|
|