public class RemoteParticipant extends Object implements BAParticipant, com.arjuna.wst.BusinessAgreementWithParticipantCompletionParticipant, com.arjuna.wst11.ConfirmCompletedParticipant
| Constructor and Description |
|---|
RemoteParticipant(CompensationHandler compensationHandler,
ConfirmationHandler confirmationHandler,
TransactionLoggedHandler transactionLoggedHandler,
Object currentTX) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel() |
void |
close() |
void |
compensate() |
void |
confirmCompleted(boolean confirmed) |
void |
error() |
String |
status() |
void |
unknown() |
public RemoteParticipant(CompensationHandler compensationHandler, ConfirmationHandler confirmationHandler, TransactionLoggedHandler transactionLoggedHandler, Object currentTX)
public void confirmCompleted(boolean confirmed)
confirmCompleted in interface com.arjuna.wst11.ConfirmCompletedParticipantconfirmCompleted in interface BAParticipantpublic void close()
throws com.arjuna.wst.WrongStateException,
com.arjuna.wst.SystemException
close in interface com.arjuna.wst.BusinessAgreementWithParticipantCompletionParticipantclose in interface BAParticipantcom.arjuna.wst.WrongStateExceptioncom.arjuna.wst.SystemExceptionpublic void cancel()
throws com.arjuna.wst.FaultedException,
com.arjuna.wst.WrongStateException,
com.arjuna.wst.SystemException
cancel in interface com.arjuna.wst.BusinessAgreementWithParticipantCompletionParticipantcancel in interface BAParticipantcom.arjuna.wst.FaultedExceptioncom.arjuna.wst.WrongStateExceptioncom.arjuna.wst.SystemExceptionpublic void compensate()
throws com.arjuna.wst.FaultedException,
com.arjuna.wst.WrongStateException,
com.arjuna.wst.SystemException
compensate in interface com.arjuna.wst.BusinessAgreementWithParticipantCompletionParticipantcompensate in interface BAParticipantcom.arjuna.wst.FaultedExceptioncom.arjuna.wst.WrongStateExceptioncom.arjuna.wst.SystemExceptionpublic String status() throws com.arjuna.wst.SystemException
status in interface com.arjuna.wst.BusinessAgreementWithParticipantCompletionParticipantcom.arjuna.wst.SystemExceptionpublic void unknown()
throws com.arjuna.wst.SystemException
unknown in interface com.arjuna.wst.BusinessAgreementWithParticipantCompletionParticipantcom.arjuna.wst.SystemExceptionpublic void error()
throws com.arjuna.wst.SystemException
error in interface com.arjuna.wst.BusinessAgreementWithParticipantCompletionParticipantcom.arjuna.wst.SystemExceptionCopyright © 2022 JBoss by Red Hat. All rights reserved.