IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.cs.rest
Class RestChannelDriver

java.lang.Object
  extended by com.ibm.btt.channel.BTTChannelDriver
      extended by com.ibm.btt.cs.rest.RestChannelDriver
All Implemented Interfaces:
ChannelDriver, java.io.Serializable

public class RestChannelDriver
extends BTTChannelDriver

See Also:
Serialized Form

Constructor Summary
RestChannelDriver()
           
 
Method Summary
 void createChannelHandler(ChannelContext channelContext)
          Creates a BTTChannelHandler object with the channelContext attribute and caches the BTTChannelHandler into the HandlerRegistry singleton.
 void init(ChannelContext aChannelCtxt)
          Initialize the device type and create the channel handler for the channel context
 void service(ChannelContext channelContext)
          Process the request and generate the reponse
 
Methods inherited from class com.ibm.btt.channel.BTTChannelDriver
createChannelContext, handleException, handleException, initDeviceType, parseRequestData, parseRequestHeader, preProcessRequest, updateChannelHandler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RestChannelDriver

public RestChannelDriver()
Method Detail

service

public void service(ChannelContext channelContext)
Description copied from class: BTTChannelDriver
Process the request and generate the reponse

Specified by:
service in interface ChannelDriver
Overrides:
service in class BTTChannelDriver

init

public void init(ChannelContext aChannelCtxt)
          throws java.lang.Exception
Description copied from class: BTTChannelDriver
Initialize the device type and create the channel handler for the channel context

Overrides:
init in class BTTChannelDriver
Parameters:
aChannelCtxt - the channel context
Throws:
java.lang.Exception - if any error occur

createChannelHandler

public void createChannelHandler(ChannelContext channelContext)
                          throws java.lang.Exception
Description copied from class: BTTChannelDriver
Creates a BTTChannelHandler object with the channelContext attribute and caches the BTTChannelHandler into the HandlerRegistry singleton. This method instantiates the RequestHandler, PresentationHandler, and a Hashtable to contain all variable parameters located in the btt.xml file. This should only be performed the first time that the channel is accessed.

Specified by:
createChannelHandler in interface ChannelDriver
Overrides:
createChannelHandler in class BTTChannelDriver
Parameters:
channelContext - com.ibm.btt.clientserver.ChannelContext
Throws:
java.lang.Exception

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2011