com.bankframe.ei.impl.txnhandler
Class Client

java.lang.Object
  extended bycom.bankframe.ei.impl.txnhandler.Client

public class Client
extends java.lang.Object

TransactionHandler test client
Usage:

  1. java com.bankframe.ei.txnhandler.transactionhandler.client.Client -t 'key=value;key=value;etc..'


Field Summary
static java.lang.String JNDI_LOOKUP_NAME
          JNDI name of Transaction Handler Bean:
 
Constructor Summary
Client()
           
 
Method Summary
 DataPacket createDataPacket(java.lang.String txnStr)
          This method creates a data packet from an input string
 void doHandle(DataPacket txnData)
          This method sends the transaction Data to the EJB and display the response
 void doHandleByProcess(DataPacket txnData)
          This method sends the transaction Data to the EJB and display the response
 int init(java.lang.String[] args)
          This method parses the command line
static void main(java.lang.String[] args)
          Entry point
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JNDI_LOOKUP_NAME

public static final java.lang.String JNDI_LOOKUP_NAME
JNDI name of Transaction Handler Bean:

See Also:
Constant Field Values
Constructor Detail

Client

public Client()
Method Detail

createDataPacket

public DataPacket createDataPacket(java.lang.String txnStr)
This method creates a data packet from an input string

Parameters:
txnStr - String containing the tranasction data
Returns:
DataPacket containing the transaction data

doHandle

public void doHandle(DataPacket txnData)
              throws java.lang.Exception
This method sends the transaction Data to the EJB and display the response

Parameters:
txnData - The Transaction DataPacket
Throws:
java.lang.Exception

doHandleByProcess

public void doHandleByProcess(DataPacket txnData)
                       throws java.lang.Exception
This method sends the transaction Data to the EJB and display the response

Parameters:
txnData - The Transaction DataPacket
Throws:
java.lang.Exception

init

public int init(java.lang.String[] args)
This method parses the command line


main

public static void main(java.lang.String[] args)
Entry point



Copyright © 2004 Siebel Systems, Inc. All rights reserved.