|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BusinessAgreementWithParticipantCompletionParticipant
| 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 unrecoverable error occurs then this operation will be invoked. |
String |
status()
|
void |
unknown()
Deprecated. |
| Method Detail |
|---|
void close()
throws WrongStateException,
SystemException
WrongStateException
SystemException
void cancel()
throws FaultedException,
WrongStateException,
SystemException
FaultedException
WrongStateException
SystemException
void compensate()
throws FaultedException,
WrongStateException,
SystemException
FaultedException - if the participant was unable to
perform the required compensation action because of an
unrecoverable error. The coordinator is notified of this fault
and as a result will stop resending compensation requests.
SystemException - if the participant was unable to
perform the required compensation action because of a transient
fault. The coordinator is not notified of this fault so it
will retry the compensate request after a suitable timeout.
WrongStateException
String status()
throws SystemException
SystemException
@Deprecated
void unknown()
throws SystemException
SystemException
void error()
throws SystemException
SystemException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||