|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bankframe.ei.txnhandler.dataformat.basic.BasicDataFormat
This class is a generic implementation of the DataFormat Interface. The Transaction Handler calls this class to handle the processing of host system requests and responses.
Constructor Summary | |
BasicDataFormat()
|
Method Summary | |
java.lang.Object |
buildRequestTxn(DataPacket txnDataPacket,
java.lang.String txnCode,
java.lang.String txnType)
This method converts a Data Packet request to a Host System format using a List of Transaction Fields. |
boolean |
moreToRequest()
This method indicates there are more Packets to process from host system, the method toDataPackets() sets this flag if it determines that there is more data to be requested from the host system. |
void |
notifyProcessingFinished()
This method is called by the Transaction Handler bean when a all processing for a transaction is complete. |
void |
setConnectionSpecification(java.lang.Object command,
java.lang.String connectorProperties)
This method sets the Connector Properties on an EAB Command Bean. |
void |
toDataPacketsMap(java.lang.Object txnData,
java.util.Map entitiesMap,
DataPacket txnDataPacket,
java.lang.String txnCode,
java.lang.String txnType)
This method converts the Vector of Host System Txn Fields data elements into a Map of DataPackets, this method is called by the txn handler method processFindRequest( ) |
void |
toDataPacketsVector(java.lang.Object txnData,
java.util.Vector responseEntitiesVector,
DataPacket txnDataPacket,
java.lang.String txnCode,
java.lang.String txnType)
This method converts the Vector of Host System Response into a Vector of result DataPackets, this method is called by the txn handler method processRequest( ) |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BasicDataFormat()
Method Detail |
public java.lang.Object buildRequestTxn(DataPacket txnDataPacket, java.lang.String txnCode, java.lang.String txnType) throws ProcessingErrorException
buildRequestTxn
in interface DataFormat
txnDataPacket
- is DataPacket of transaction settingstxnCode
- is the transaction codetxnType
- is the transaction type
ProcessingErrorException
public boolean moreToRequest()
moreToRequest
in interface DataFormat
public void notifyProcessingFinished()
notifyProcessingFinished
in interface DataFormat
public void setConnectionSpecification(java.lang.Object command, java.lang.String connectorProperties) throws ProcessingErrorException
command
- the Command bean to be set.connectorProperties
- is the Connector properties as determined by
the Transaction Handler engine from the Destination EJB
ProcessingErrorException
public void toDataPacketsMap(java.lang.Object txnData, java.util.Map entitiesMap, DataPacket txnDataPacket, java.lang.String txnCode, java.lang.String txnType) throws ProcessingErrorException, HostProcessingErrorException
toDataPacketsMap
in interface DataFormat
txnDataPacket
- DataPacket of request settings.txnCode
- is transaction codetxnType
- is transaction typetxnData
- data from host system.entitiesMap
- is Map of Data Packet entities created.
ProcessingErrorException
HostProcessingErrorException
public void toDataPacketsVector(java.lang.Object txnData, java.util.Vector responseEntitiesVector, DataPacket txnDataPacket, java.lang.String txnCode, java.lang.String txnType) throws ProcessingErrorException, HostProcessingErrorException
toDataPacketsVector
in interface DataFormat
txnData
- is Object(Vector) data from host system.responseEntitiesVector
- is the Vector of DataPacket entities updated/created from
host system datatxnDataPacket
- is DataPacket of request settings.txnCode
- is transaction codetxnType
- is transaction type
ProcessingErrorException
HostProcessingErrorException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |