|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bankframe.ei.impl.txnhandler.Client
TransactionHandler test client
Usage:
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 |
public static final java.lang.String JNDI_LOOKUP_NAME
Constructor Detail |
public Client()
Method Detail |
public DataPacket createDataPacket(java.lang.String txnStr)
txnStr
- String containing the tranasction data
public void doHandle(DataPacket txnData) throws java.lang.Exception
txnData
- The Transaction DataPacket
java.lang.Exception
public void doHandleByProcess(DataPacket txnData) throws java.lang.Exception
txnData
- The Transaction DataPacket
java.lang.Exception
public int init(java.lang.String[] args)
public static void main(java.lang.String[] args)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |