|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bankframe.examples.txnhandler.connector.testcustomer.TestCustomerData
public class TestCustomerData
This class mimics the behaviour of a host system, it takes requests and returns responses. It it used for testing Transaction Handler functionality
Constructor Summary | |
---|---|
TestCustomerData()
Default constructor |
Method Summary | |
---|---|
String |
getString(String key)
This method gets a value from the resource bundle |
TreeMap |
getSubSet(String prefix)
This method gets a subset of the resource bundle |
byte[] |
processTransaction(byte[] bytes)
This method processes a transaction |
void |
putString(String key,
String value)
This method updates a value in the resource bundle |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TestCustomerData()
Method Detail |
---|
public String getString(String key)
public TreeMap getSubSet(String prefix)
public byte[] processTransaction(byte[] bytes)
public void putString(String key, String value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |