public class BAParticipantRecoveryRecord extends BAParticipantRecoveryRecord
id, isParticipantCompletion, participant| Constructor and Description |
|---|
BAParticipantRecoveryRecord()
constructor used during recovery processing to create a record whose contents will be
recovered from the object store
|
BAParticipantRecoveryRecord(String id,
BusinessAgreementWithParticipantCompletionParticipant participant,
boolean isParticipantCompletion,
W3CEndpointReference endpoint)
constructor used during prepare processing to create an AT 1.1 participant record
for saving to the object store
|
| Modifier and Type | Method and Description |
|---|---|
void |
activate()
create a participant engine to manage commit or rollback processing for the
participant and install it in the active participants table
|
boolean |
isActive()
test whether a participant is currently activated with the id of this recovery record.
|
protected void |
restoreEndpointReference(com.arjuna.ats.arjuna.state.InputObjectState ios)
restore the endpoint reference to the coordinator for this participant
|
protected void |
saveEndpointReference(com.arjuna.ats.arjuna.state.OutputObjectState oos)
save the endpoint reference to the coordinator for this participant
|
getId, restoreParticipant, restoreState, saveState, typepublic BAParticipantRecoveryRecord(String id, BusinessAgreementWithParticipantCompletionParticipant participant, boolean isParticipantCompletion, W3CEndpointReference endpoint)
id - the id of the application-specific participantparticipant - the application-specific participantpublic BAParticipantRecoveryRecord()
protected void saveEndpointReference(com.arjuna.ats.arjuna.state.OutputObjectState oos)
throws IOException
saveEndpointReference in class BAParticipantRecoveryRecordIOExceptionprotected void restoreEndpointReference(com.arjuna.ats.arjuna.state.InputObjectState ios)
throws IOException
restoreEndpointReference in class BAParticipantRecoveryRecordIOExceptionpublic void activate()
activate in class BAParticipantRecoveryRecordpublic boolean isActive()
isActive in class BAParticipantRecoveryRecordCopyright © 2018 JBoss by Red Hat. All rights reserved.