|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.arjuna.wst.stub.BusinessAgreementWithParticipantCompletionStub
Constructor Summary | |
BusinessAgreementWithParticipantCompletionStub(ParticipantCompletionCoordinatorEngine participant)
|
Method Summary | |
void |
cancel()
The transaction has cancelled, and the participant should undo any work. |
void |
close()
The transaction has completed successfully. |
void |
compensate()
The transaction has cancelled. |
void |
error()
If the participant enquired as to the status of the transaction it was registered with and an error occurs (e.g., the transaction service is unavailable) then this operation will be invoked. |
boolean |
restoreState(com.arjuna.ats.arjuna.state.InputObjectState ios)
Restore the state of the particpant from the specified input object stream. |
boolean |
saveState(com.arjuna.ats.arjuna.state.OutputObjectState oos)
Save the state of the particpant to the specified input object stream. |
java.lang.String |
status()
|
void |
unknown()
If the participant enquires as to the status of the transaction it was registered with and that transaction is no longer available (has rolled back) then this operation will be invoked by the coordination service. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BusinessAgreementWithParticipantCompletionStub(ParticipantCompletionCoordinatorEngine participant) throws java.lang.Exception
Method Detail |
public void close() throws WrongStateException, SystemException
BusinessAgreementWithParticipantCompletionParticipant
close
in interface BusinessAgreementWithParticipantCompletionParticipant
WrongStateException
SystemException
public void cancel() throws WrongStateException, SystemException
BusinessAgreementWithParticipantCompletionParticipant
cancel
in interface BusinessAgreementWithParticipantCompletionParticipant
WrongStateException
SystemException
public void compensate() throws FaultedException, WrongStateException, SystemException
BusinessAgreementWithParticipantCompletionParticipant
compensate
in interface BusinessAgreementWithParticipantCompletionParticipant
FaultedException
WrongStateException
SystemException
public java.lang.String status() throws SystemException
status
in interface BusinessAgreementWithParticipantCompletionParticipant
SystemException
public void unknown() throws SystemException
BusinessAgreementWithParticipantCompletionParticipant
unknown
in interface BusinessAgreementWithParticipantCompletionParticipant
SystemException
public void error() throws SystemException
BusinessAgreementWithParticipantCompletionParticipant
error
in interface BusinessAgreementWithParticipantCompletionParticipant
SystemException
public boolean saveState(com.arjuna.ats.arjuna.state.OutputObjectState oos)
PersistableParticipant
saveState
in interface PersistableParticipant
oos
- The output output stream.
public boolean restoreState(com.arjuna.ats.arjuna.state.InputObjectState ios)
PersistableParticipant
restoreState
in interface PersistableParticipant
ios
- The Input object stream.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |