IBM Bank Transformation Toolkit Javadoc

com.ibm.btt.channel
Class HandlerUtils

java.lang.Object
  extended by com.ibm.btt.channel.HandlerUtils

public abstract class HandlerUtils
extends java.lang.Object


Constructor Summary
HandlerUtils()
           
 
Method Summary
static java.lang.Object findRegistryValue(java.lang.String deviceType, java.lang.String key)
           
static boolean getCreateSessionValue(ChannelContext channelContext)
          Find the create session value from request data
static PresentationHandler getPresentationHandler(java.lang.String device)
          Determines the PresentationHandler to invoke for the specific channel driver and obtains the presenation handler from the HandlerRegistry.
static java.lang.Object getRegistryValue(java.lang.String deviceType, java.lang.String key)
           
static RequestHandler getRequestHandler(java.lang.String device)
          Determines the RequestHandler to invoke for the specific channel driver and obtains the request handler from the HandlerRegistry.
static void setCreateSessionValue(ChannelContext channelContext)
          Find the create session value from request data
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HandlerUtils

public HandlerUtils()
Method Detail

findRegistryValue

public static java.lang.Object findRegistryValue(java.lang.String deviceType,
                                                 java.lang.String key)

getRegistryValue

public static java.lang.Object getRegistryValue(java.lang.String deviceType,
                                                java.lang.String key)
                                         throws DSEObjectNotFoundException
Throws:
DSEObjectNotFoundException

getRequestHandler

public static RequestHandler getRequestHandler(java.lang.String device)
                                        throws DSENoRegisteredRequestHandlerException
Determines the RequestHandler to invoke for the specific channel driver and obtains the request handler from the HandlerRegistry.

Parameters:
channelContext - com.ibm.btt.clientserver.ChannelContext
Returns:
com.ibm.btt.clientserver.RequestHandler
Throws:
DSENoRegisteredRequestHandlerException - throws when request handler isn't found

getPresentationHandler

public static PresentationHandler getPresentationHandler(java.lang.String device)
                                                  throws DSENoRegisteredPresentationHandlerException
Determines the PresentationHandler to invoke for the specific channel driver and obtains the presenation handler from the HandlerRegistry.

Parameters:
channelContext - com.ibm.btt.clientserver.ChannelContext
Returns:
com.ibm.btt.clientserver.PresenationHandler
Throws:
DSENoRegisteredPresentationHandlerException - throws when presenation handler isn't found

getCreateSessionValue

public static boolean getCreateSessionValue(ChannelContext channelContext)
Find the create session value from request data

Parameters:
channelContext - the channel context
Returns:
true if find the value and the value is "true" otherwise return false

setCreateSessionValue

public static void setCreateSessionValue(ChannelContext channelContext)
Find the create session value from request data

Parameters:
channelContext - the channel context
Throws:
DSEInvalidArgumentException

IBM Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2008