com.bankframe.services.requestrouter
Class RequestRouterUtils

java.lang.Object
  extended by com.bankframe.services.requestrouter.RequestRouterUtils

public class RequestRouterUtils
extends Object

This utility class provides static methods for easily invoking BankFrame MCA business processes.


Field Summary
static boolean ADD_RESPONSE_STATS
          this setting determines whether the RequestRouter will add response times for each request serviced
static String ADD_RESPONSE_STATS_KEY
           
static String REQUEST_ROUTER_JNDI_NAME
          the setting in the BankframeResource.properties file that specifies the JNDI name of the request router
 
Constructor Summary
RequestRouterUtils()
           
 
Method Summary
static Vector processDataPacket(DataPacket dataPacket)
          This method routes a request to the destination EJB.
static Vector processDataPackets(Vector dataPackets)
          This method routes a request to the destination EJB.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REQUEST_ROUTER_JNDI_NAME

public static final String REQUEST_ROUTER_JNDI_NAME
the setting in the BankframeResource.properties file that specifies the JNDI name of the request router

See Also:
Constant Field Values

ADD_RESPONSE_STATS

public static final boolean ADD_RESPONSE_STATS
this setting determines whether the RequestRouter will add response times for each request serviced


ADD_RESPONSE_STATS_KEY

public static final String ADD_RESPONSE_STATS_KEY
See Also:
Constant Field Values
Constructor Detail

RequestRouterUtils

public RequestRouterUtils()
Method Detail

processDataPacket

public static Vector processDataPacket(DataPacket dataPacket)
                                throws RequestRouterException
This method routes a request to the destination EJB.

Parameters:
dataPacket - the DataPacket containg the data to route
Returns:
a vector containing the response data
Throws:
RequestRouterException

processDataPackets

public static Vector processDataPackets(Vector dataPackets)
                                 throws RequestRouterException
This method routes a request to the destination EJB.

Parameters:
dataPackets - a vector of DataPackets to route to the EJB
Returns:
a vector containing the response data
Throws:
RequestRouterException


Copyright © 2005, 2007, Oracle. All rights reserved.