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, type
public 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 BAParticipantRecoveryRecord
IOException
protected void restoreEndpointReference(com.arjuna.ats.arjuna.state.InputObjectState ios) throws IOException
restoreEndpointReference
in class BAParticipantRecoveryRecord
IOException
public void activate()
activate
in class BAParticipantRecoveryRecord
public boolean isActive()
isActive
in class BAParticipantRecoveryRecord
Copyright © 2019 JBoss by Red Hat. All rights reserved.