IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.clientserver
Interface PresentationHandler

All Known Implementing Classes:
DSEPresentationHandler, HtmlPresentationHandler, JavaPresentationHandler, MobilePresentationHandler, Web2PresentationHandler

public interface PresentationHandler

The PresentationHandler interface

The presentation handler will be responsible to process the reply from the operation or process and render the output for the specific channel. This interface should also detail the extension points for all channel drivers.

Any object implementing this interface will have to provide the ability to:

  1. - process a reply to a device
  2. - process a session reply to a device
  3. - process exceptions to a device
  4. - handle exceptions during execution


Field Summary
static java.lang.String COPYRIGHT
           
 
Method Summary
 void processException(ChannelContext channelContext, java.lang.Exception exception)
          Process the exception for the client device The public API that will be invoked by the request handler should an exception occur within the operation or process.
 void processReply(ChannelContext channelContext, java.lang.Object responseData)
          If using Bean-Invoker, the presentation will pass the responseData (formatted by invoker) to client directly
 void processSessionReply(ChannelContext channelContext)
          Process the session reply for the client device The main API that will be invoked by the request handler that will define the process flow of the presentation handler and process and render the ouput to the device when the session is established.
 

Field Detail

COPYRIGHT

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

processException

void processException(ChannelContext channelContext,
                      java.lang.Exception exception)
Process the exception for the client device

The public API that will be invoked by the request handler should an exception occur within the operation or process. This will determine how to render the exception to the device

Parameters:
channelContext - com.ibm.btt.clientserver.ChannelContext
exception - java.lang.Exception

processReply

void processReply(ChannelContext channelContext,
                  java.lang.Object responseData)
If using Bean-Invoker, the presentation will pass the responseData (formatted by invoker) to client directly


processSessionReply

void processSessionReply(ChannelContext channelContext)
Process the session reply for the client device

The main API that will be invoked by the request handler that will define the process flow of the presentation handler and process and render the ouput to the device when the session is established.

Parameters:
channelContext - com.ibm.btt.clientserver.ChannelContext

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2009