|
|||||||||
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 error occurs (e.g., the transaction service is unavailable) then this operation will be invoked. |
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. |
Method Detail |
---|
void close() throws WrongStateException, SystemException
WrongStateException
SystemException
void cancel() throws WrongStateException, SystemException
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
java.lang.String status() throws SystemException
SystemException
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 |