|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bankframe.ei.txnhandler.TransactionHandlerBean
public abstract class TransactionHandlerBean
This is an EJB Session bean that supports Transactions to Host Systems. This class is responsible for 1. Converting the DataPacket transaction request into a host system specific format. 2. Forwarding the transaction to the host system Connector. 3. Processing the host system response 4. Returning entity results to the persister in a DataPacket format The TransactionHandlerBean passes all the host specific formatting duties to a DataFormat class.
Constructor Summary | |
---|---|
TransactionHandlerBean()
|
Method Summary | |
---|---|
Map |
processFindRequest(DataPacket txnData)
This method is called for find operations only |
Vector |
processRequest(DataPacket txnData)
This method is called for all operations except finds |
Map |
processSingleHostFindRequest(DataPacket txnData,
String txnCode,
String txnType,
Vector allRoutes)
This method will handle the processing of a single find request (i.e. |
Vector |
processSingleHostRequest(DataPacket txnData,
String txnCode,
String txnType,
Vector allRoutes)
This method will handle the processing of a single non-find request (i.e. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TransactionHandlerBean()
Method Detail |
---|
public Map processFindRequest(DataPacket txnData) throws ProcessingErrorException, HostProcessingErrorException, HostConnectivityException
txnData
- is DataPacket of transaction settings
ProcessingErrorException
- when an error occurs
HostProcessingErrorException
HostConnectivityException
public Vector processRequest(DataPacket txnData) throws ProcessingErrorException, HostProcessingErrorException, HostConnectivityException
txnData
- DataPacket of transaction settings
ProcessingErrorException
- when an error occurs
HostProcessingErrorException
HostConnectivityException
public Map processSingleHostFindRequest(DataPacket txnData, String txnCode, String txnType, Vector allRoutes) throws ProcessingErrorException
txnData
- txnCode
- txnType
- allRoutes
-
ProcessingErrorException
public Vector processSingleHostRequest(DataPacket txnData, String txnCode, String txnType, Vector allRoutes) throws ProcessingErrorException
txnData
- txnCode
- txnType
- allRoutes
-
ProcessingErrorException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |