IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.mobile
Class MobileRequestHandler

java.lang.Object
  extended by com.ibm.btt.clientserver.DSERequestHandler
      extended by com.ibm.btt.mobile.MobileRequestHandler
All Implemented Interfaces:
RequestHandler

public class MobileRequestHandler
extends DSERequestHandler

Handle requests that are made from mobile clients. The btt.xml file for the server specifies this class name as the handler for mobile requests. One instance of it is created and held by the HandlerRegistry for use by all mobile clients.


Field Summary
 
Fields inherited from class com.ibm.btt.clientserver.DSERequestHandler
errorCode, javaClientException, javaClientTrace
 
Constructor Summary
MobileRequestHandler()
           
 
Method Summary
protected  java.lang.Object executeRequest(ChannelContext channelContext)
          Override the execute request method to execute the business logic.
protected  void executeSession(ChannelContext channelContext)
          Execute the start up operation to create the session context and add the session entry to the session management handler
 
Methods inherited from class com.ibm.btt.clientserver.DSERequestHandler
checkExecutionPermission, formatOpContext, getPresentationHandler, getRequestValue, getSessionContext, getSessionId, handleException, handleException, isNotNull, preProcessRequest, process, processRequest, processSessionRequest, runInSession, setReplyFmt, tryToFormat, tryToUnformat, unFormatRequest, usingCookies
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MobileRequestHandler

public MobileRequestHandler()
Method Detail

executeRequest

protected java.lang.Object executeRequest(ChannelContext channelContext)
                                   throws java.lang.Exception
Override the execute request method to execute the business logic. It just calls BTT operation to call the backend service.

Overrides:
executeRequest in class DSERequestHandler
Parameters:
channelContext - com.ibm.btt.clientserver.ChannelContext
Returns:
com.ibm.btt.base.ServerOperation
Throws:
java.lang.Exception

executeSession

protected void executeSession(ChannelContext channelContext)
                       throws java.lang.Exception
Execute the start up operation to create the session context and add the session entry to the session management handler

Overrides:
executeSession in class DSERequestHandler
Parameters:
channnelContext - the channel context object
Throws:
java.lang.Exception - if error occur

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2010