com.bankframe.services.requestrouter
Class RequestRouterUtils

java.lang.Object
  extended bycom.bankframe.services.requestrouter.RequestRouterUtils

public class RequestRouterUtils
extends java.lang.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 java.lang.String ADD_RESPONSE_STATS_KEY
           
static java.lang.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 java.util.Vector processDataPacket(DataPacket dataPacket)
          This method routes a request to the destination EJB.
static java.util.Vector processDataPackets(java.util.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 java.lang.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 java.lang.String ADD_RESPONSE_STATS_KEY
See Also:
Constant Field Values
Constructor Detail

RequestRouterUtils

public RequestRouterUtils()
Method Detail

processDataPacket

public static java.util.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 java.util.Vector processDataPackets(java.util.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.