com.bankframe.examples.txnhandler.connector.coboltest
Class CobolTestConnection

java.lang.Object
  extended bycom.bankframe.examples.txnhandler.connector.coboltest.CobolTestConnection
All Implemented Interfaces:
EConnection

public class CobolTestConnection
extends java.lang.Object
implements EConnection

This class provides a test BankFrame Connector that can be used to test the funcionality of the Transaction Handler


Field Summary
static java.lang.String CONNECTOR_NAME
           
 
Constructor Summary
CobolTestConnection()
          Default Constructor
CobolTestConnection(CobolTestManagedConnection mqmc)
          Constructor
 
Method Summary
 void close()
          This method closes the connection
 java.lang.Object post(java.lang.Object txns)
          This method executes a transaction request
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONNECTOR_NAME

public static final java.lang.String CONNECTOR_NAME
See Also:
Constant Field Values
Constructor Detail

CobolTestConnection

public CobolTestConnection()
Default Constructor


CobolTestConnection

public CobolTestConnection(CobolTestManagedConnection mqmc)
Constructor

Parameters:
mqmc - Managed connection
Method Detail

close

public void close()
This method closes the connection

Specified by:
close in interface EConnection

post

public java.lang.Object post(java.lang.Object txns)
                      throws ProcessingErrorException
This method executes a transaction request

Specified by:
post in interface EConnection
Parameters:
txns - The transaction to execute
Returns:
The response to the transaction
Throws:
ProcessingErrorException - if an error occurrs.


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