| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bankframe.services.requestrouter.RequestRouterUtils
public class RequestRouterUtils
This utility class provides static methods for easily invoking BankFrame MCA business processes.
| Field Summary | |
|---|---|
| static boolean | ADD_RESPONSE_STATSthis setting determines whether the RequestRouter will add response times for each request serviced | 
| static String | ADD_RESPONSE_STATS_KEY | 
| static String | REQUEST_ROUTER_JNDI_NAMEthe setting in the BankframeResource.propertiesfile 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 | 
|---|
public static final String REQUEST_ROUTER_JNDI_NAME
BankframeResource.properties file that specifies the
        JNDI name of the request router
public static final boolean ADD_RESPONSE_STATS
public static final String ADD_RESPONSE_STATS_KEY
| Constructor Detail | 
|---|
public RequestRouterUtils()
| Method Detail | 
|---|
public static Vector processDataPacket(DataPacket dataPacket)
                                throws RequestRouterException
dataPacket - the DataPacket containg the data to route
RequestRouterException
public static Vector processDataPackets(Vector dataPackets)
                                 throws RequestRouterException
dataPackets - a vector of DataPackets to route to the EJB
RequestRouterException| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||