|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bankframe.ei.txnhandler.storeandforward.storequeue.StoreQueueBean
com.bankframe.ei.txnhandler.storeandforward.impl.storequeue.StoreQueueBean
public class StoreQueueBean
The StoreQueueBean class.
Field Summary |
---|
Fields inherited from interface com.bankframe.ejb.ESession |
---|
serialVersionUID |
Constructor Summary | |
---|---|
StoreQueueBean()
The default StoreQueueBean constructor. |
Method Summary | |
---|---|
Vector |
createStoredTransaction(DataPacket data)
This method adds a new Transaction to the store queue. |
void |
ejbCreate()
This method creates a new StoreQueue Session instance. |
Vector |
findAllStoredTransactions(DataPacket data)
This method performs a lookup on the Store queue |
Vector |
findStoredTransactionBySequenceNo(DataPacket data)
This method performs a lookup on the Store queue by sequence number. |
Vector |
findStoredTransactionsInTimePeriod(DataPacket data)
This method performs a lookup on the Store queue by time period |
Vector |
getAllErrorTransactions()
This method will get all the transactions on the error store. |
Vector |
getAllStoredTransactions()
This method will get all the transactions on the queued store. |
Vector |
getAllSuccessfulTransactions()
This method will get all the transactions on the successful store. |
Vector |
getNextStoredTransactionBatch()
This method will return a batch of transactions using the BankframeResource.properties file to get the no. |
Vector |
processDataPacket(DataPacket data)
This method is called by the request router for any request with the route_id for the store queue. |
Vector |
processDataPackets(Vector allData)
This method is called by the request router for any request with the route_id for the store queue. |
Vector |
removeFromCompleted(int seqNo)
This method will remove a transaction from the completed store |
Vector |
removeFromError(int seqNo)
This method will remove a transaction from the error store |
Vector |
setOffline(DataPacket data)
This method sets the host offline |
Vector |
setOnline(DataPacket data)
This method sets the host online |
Methods inherited from class com.bankframe.ei.txnhandler.storeandforward.storequeue.StoreQueueBean |
---|
addTransactionToCompleted, addTransactionToError, createStoredTransaction, findAllErrorTransactions, findAllStoredTransactions, findAllSuccessfulTransactions, findNextStoredTransaction, findStoredTransactionBySequenceNo, findStoredTransactionsInTimePeriod, isStoreEmpty, nextStoredTransactionBatch, removeTransactionFromError, removeTransactionFromSuccessful, setOffline, setOnline |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StoreQueueBean()
Method Detail |
---|
public Vector createStoredTransaction(DataPacket data) throws ValidationException, ProcessingErrorException, RemoteException
data
- the request Vector
RemoteException
ProcssingErrorException
ValidationException
ProcessingErrorException
public void ejbCreate() throws CreateException
CreateException
public Vector findAllStoredTransactions(DataPacket data) throws ProcessingErrorException, RemoteException
data
- the request DataPacket
ProcssingErrorException
RemoteException
ProcessingErrorException
public Vector findStoredTransactionBySequenceNo(DataPacket data) throws ProcessingErrorException, RemoteException
data
- A DataPacket containing a "SEQUENCE_NUMBER" field
ProcessingErrorException
RemoteException
public Vector findStoredTransactionsInTimePeriod(DataPacket data) throws ProcessingErrorException, RemoteException, ValidationException
data
- A DataPacket containg the "STARTTIME" and "ENDTIME" keys.
ProcessingErrorException
RemoteException
ValidationException
public Vector getAllErrorTransactions() throws ProcessingErrorException, RemoteException
ProcessingErrorException
RemoteException
public Vector getAllStoredTransactions() throws ProcessingErrorException, RemoteException
ProcessingErrorException
RemoteException
public Vector getAllSuccessfulTransactions() throws ProcessingErrorException, RemoteException
ProcessingErrorException
RemoteException
public Vector getNextStoredTransactionBatch() throws ProcessingErrorException, RemoteException
ProcessingErrorException
RmeoteExeption
RemoteException
public Vector processDataPacket(DataPacket data) throws ProcessingErrorException, RemoteException
processDataPacket
in interface ESession
data
- the request DataPacket
ProcessingErrorException
RemoteException
public Vector processDataPackets(Vector allData) throws ProcessingErrorException, RemoteException
processDataPackets
in interface ESession
allData
- the request DataPacket
ProcessingErrorException
RemoteException
public Vector removeFromCompleted(int seqNo)
seqNo
- the sequence number of the transaction to remove
public Vector removeFromError(int seqNo)
seqNo
- the sequence number of the transaction to remove
public Vector setOffline(DataPacket data) throws ProcessingErrorException, RemoteException
data
- the request DataPacket
ProcssingErrorException
RemoteException
ProcessingErrorException
public Vector setOnline(DataPacket data) throws ProcessingErrorException, RemoteException
data
- the request DataPacket
ProcssingErrorException
RemoteException
ProcessingErrorException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |