IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.cs.html.util
Class SessionHandler

java.lang.Object
  extended by com.ibm.btt.cs.html.util.SessionHandler

public class SessionHandler
extends java.lang.Object

The utility class used to handle BTT session


Field Summary
static java.lang.String COPYRIGHT
           
 
Constructor Summary
SessionHandler()
           
 
Method Summary
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 Context getCurrentContextForSessionOrApplication(java.lang.String aSessionID)
          Returns the current Context for the specified sessionId.
static SessionEntry getSession(java.lang.String aSessionID)
          Returns the SessionEntry for the sessionId.
static javax.servlet.http.HttpSession getSessionObjectForSession(java.lang.String aSessionID)
          Returns the Session Object for the specified sessionId.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
See Also:
Constant Field Values
Constructor Detail

SessionHandler

public SessionHandler()
Method Detail

getCurrentContextForSession

public static Context getCurrentContextForSession(java.lang.String aSessionID)
                                           throws DSEInvalidRequestException,
                                                  DSEObjectNotFoundException
Returns the current Context for the specified sessionId.

Parameters:
aSessionID -
Returns:
Context
Throws:
DSEInvalidRequestException
DSEObjectNotFoundException

getCurrentContextForSession

public static Context getCurrentContextForSession(java.lang.String aSessionID,
                                                  java.lang.String aApplicationID)
                                           throws DSEInvalidRequestException,
                                                  DSEObjectNotFoundException
Returns the current Context for the specified sessionId and applicationId.

Parameters:
aSessionID -
aApplicationID -
Returns:
Context
Throws:
DSEInvalidRequestException
DSEObjectNotFoundException

getCurrentContextForSessionOrApplication

public static Context getCurrentContextForSessionOrApplication(java.lang.String aSessionID)
                                                        throws DSEInvalidRequestException,
                                                               DSEObjectNotFoundException
Returns the current Context for the specified sessionId.

Parameters:
aSessionID -
Returns:
Context
Throws:
DSEInvalidRequestException
DSEObjectNotFoundException

getSessionObjectForSession

public static javax.servlet.http.HttpSession getSessionObjectForSession(java.lang.String aSessionID)
                                                                 throws DSEInvalidRequestException,
                                                                        DSEObjectNotFoundException
Returns the Session Object for the specified sessionId.

Parameters:
aSessionID -
Returns:
HttpSession
Throws:
DSEInvalidRequestException
DSEObjectNotFoundException

getSession

public static SessionEntry getSession(java.lang.String aSessionID)
                               throws DSEInvalidRequestException,
                                      DSEObjectNotFoundException
Returns the SessionEntry for the sessionId.

Parameters:
aSessionID -
Returns:
SessionEntry
Throws:
DSEInvalidRequestException
DSEObjectNotFoundException

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2009