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