|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bankframe.ei.txnhandler.storeandforward.forwardoperations.ForwardOperationsBean
This class defines the basis of the ForwardOperations session EJB implementation. It provides a method that allow requests to be forwarded from the store. This class will send data to a servlet that will release requests from the store at a specified rate.
Constructor Summary | |
ForwardOperationsBean()
|
Method Summary | |
boolean |
forwardNextRequest()
This method will try and forward the next request in the store. |
boolean |
forwardRequest(int sequenceNumber)
This method will try and forward the next request in the store. |
boolean |
isStoreEmpty()
This method will test if there are any requests on the store. |
void |
updateDestination(java.lang.String status)
This method will ammend the online/offline status of the destination associated with this operation |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ForwardOperationsBean()
Method Detail |
public boolean forwardNextRequest() throws ProcessingErrorException, java.rmi.RemoteException
forwardNextRequest
in interface ForwardOperations
ProcessingErrorException
java.rmi.RemoteException
public boolean forwardRequest(int sequenceNumber) throws ProcessingErrorException, java.rmi.RemoteException
forwardRequest
in interface ForwardOperations
ProcessingErrorException
java.rmi.RemoteException
public boolean isStoreEmpty() throws ProcessingErrorException, java.rmi.RemoteException
isStoreEmpty
in interface ForwardOperations
ProcessingErrorException
java.rmi.RemoteException
public void updateDestination(java.lang.String status) throws ProcessingErrorException, java.rmi.RemoteException
updateDestination
in interface ForwardOperations
status
- the new status
ProcessingErrorException
java.rmi.RemoteException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |