|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.btt.channel.SessionHandler
public class SessionHandler
The utility method used to handle BTT session
Method Summary | |
---|---|
static void |
addSessionEntry(java.lang.String sessionId,
java.lang.String key,
java.lang.Object value)
add value to session context |
static Context |
findCurrentContextForSession(java.lang.String aSessionID)
Returns the current Context for the specified sessionId. |
static java.lang.Object |
findSessionValue(java.lang.String sessionId,
java.lang.String key)
Try to get value from session context, if it isn't found, it will return null. |
static Context |
getCurrentContextForSession(java.lang.String aSessionID)
Returns the current Context for the specified sessionId. |
static Context |
getCurrentContextForSession(java.lang.String aSessionID,
java.lang.String aApplicationID)
Returns the current Context for the specified sessionId and applicationId. |
static java.lang.Object |
getSessionValue(java.lang.String sessionId,
java.lang.String key)
Use the key to find the value from session context It will throw exception if the session entry can't be found |
static void |
removeSessionEntry(java.lang.String sessionId,
java.lang.String key)
remove the value from session context |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Context getCurrentContextForSession(java.lang.String aSessionID) throws DSEInvalidRequestException, DSEObjectNotFoundException
aSessionID
-
DSEInvalidRequestException
DSEObjectNotFoundException
public static Context findCurrentContextForSession(java.lang.String aSessionID) throws DSEInvalidRequestException, DSEObjectNotFoundException
aSessionID
-
DSEInvalidRequestException
DSEObjectNotFoundException
public static Context getCurrentContextForSession(java.lang.String aSessionID, java.lang.String aApplicationID) throws DSEInvalidRequestException, DSEObjectNotFoundException
aSessionID
- aApplicationID
-
DSEInvalidRequestException
DSEObjectNotFoundException
public static void addSessionEntry(java.lang.String sessionId, java.lang.String key, java.lang.Object value) throws DSEInvalidRequestException, DSEObjectNotFoundException, DSEInvalidArgumentException
sessionId
- key
- value
-
DSEInvalidRequestException
DSEObjectNotFoundException
DSEInvalidArgumentException
public static void removeSessionEntry(java.lang.String sessionId, java.lang.String key) throws DSEInvalidRequestException, DSEObjectNotFoundException, DSEInvalidArgumentException
sessionId
- key
-
DSEInvalidRequestException
DSEObjectNotFoundException
DSEInvalidArgumentException
public static java.lang.Object getSessionValue(java.lang.String sessionId, java.lang.String key) throws DSEInvalidRequestException, DSEObjectNotFoundException
sessionId
- key
-
DSEObjectNotFoundException
DSEInvalidRequestException
java.lang.Exception
public static java.lang.Object findSessionValue(java.lang.String sessionId, java.lang.String key) throws DSEInvalidRequestException, DSEObjectNotFoundException
sessionId
- key
-
DSEInvalidRequestException
DSEObjectNotFoundException
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |