|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.synapse.endpoints.dispatch.SALSessions
public class SALSessions
Keeps the states of the sessions
| Method Summary | |
|---|---|
void |
clearSessions()
Clear all the expired sessions |
List<Endpoint> |
getChildEndpoints(SessionInformation information)
Returns endpoint sequence related to the given session |
static SALSessions |
getInstance()
|
SessionInformation |
getSession(String sessionID)
return the endpoint for the given session. |
void |
initialize(boolean isClusteringEnable,
ConfigurationContext cc)
Initialize SALSessions instance |
boolean |
isInitialized()
|
void |
registerChildren(Endpoint endpoint,
List<Endpoint> endpoints)
This method only use in a clustered environment. |
void |
removeSession(String sessionId)
Removes the endpoint for the given session. |
void |
reset()
|
void |
updateSession(MessageContext synCtx,
String sessionID)
Update or establish a session |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static SALSessions getInstance()
public void initialize(boolean isClusteringEnable,
ConfigurationContext cc)
isClusteringEnable - is this a clustered environmentcc - Axis config context
public void registerChildren(Endpoint endpoint,
List<Endpoint> endpoints)
endpoint - Root endpoint nameendpoints - children
public void updateSession(MessageContext synCtx,
String sessionID)
synCtx - Synapse MessageContextsessionID - session idpublic SessionInformation getSession(String sessionID)
sessionID - The session identifier
public List<Endpoint> getChildEndpoints(SessionInformation information)
information - Session information
public void removeSession(String sessionId)
sessionId - The session identifierpublic void clearSessions()
public boolean isInitialized()
public void reset()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||