Class BAParticipantRecoveryRecord
java.lang.Object
org.jboss.jbossts.xts.recovery.participant.ba.BAParticipantRecoveryRecord
org.jboss.jbossts.xts11.recovery.participant.ba.BAParticipantRecoveryRecord
- All Implemented Interfaces:
PersistableParticipant
recovery record specific to WS-AT 1.1 protocol participants. this implements the behaviours
necessary to save and restore a 1.1 participant to or from the TX object store
-
Field Summary
Fields inherited from class org.jboss.jbossts.xts.recovery.participant.ba.BAParticipantRecoveryRecord
id, isParticipantCompletion, participant
-
Constructor Summary
ConstructorDescriptionconstructor used during recovery processing to create a record whose contents will be recovered from the object storeBAParticipantRecoveryRecord
(String id, BusinessAgreementWithParticipantCompletionParticipant participant, boolean isParticipantCompletion, jakarta.xml.ws.wsaddressing.W3CEndpointReference endpoint) constructor used during prepare processing to create an AT 1.1 participant record for saving to the object store -
Method Summary
Modifier and TypeMethodDescriptionvoid
activate()
create a participant engine to manage commit or rollback processing for the participant and install it in the active participants tableboolean
isActive()
test whether a participant is currently activated with the id of this recovery record.protected void
restore the endpoint reference to the coordinator for this participantprotected void
save the endpoint reference to the coordinator for this participantMethods inherited from class org.jboss.jbossts.xts.recovery.participant.ba.BAParticipantRecoveryRecord
getId, restoreParticipant, restoreState, saveState, type
-
Constructor Details
-
BAParticipantRecoveryRecord
public BAParticipantRecoveryRecord(String id, BusinessAgreementWithParticipantCompletionParticipant participant, boolean isParticipantCompletion, jakarta.xml.ws.wsaddressing.W3CEndpointReference endpoint) constructor used during prepare processing to create an AT 1.1 participant record for saving to the object store- Parameters:
id
- the id of the application-specific participantparticipant
- the application-specific participant
-
BAParticipantRecoveryRecord
public BAParticipantRecoveryRecord()constructor used during recovery processing to create a record whose contents will be recovered from the object store
-
-
Method Details
-
saveEndpointReference
save the endpoint reference to the coordinator for this participant- Specified by:
saveEndpointReference
in classBAParticipantRecoveryRecord
- Throws:
IOException
-
restoreEndpointReference
restore the endpoint reference to the coordinator for this participant- Specified by:
restoreEndpointReference
in classBAParticipantRecoveryRecord
- Throws:
IOException
-
activate
public void activate()create a participant engine to manage commit or rollback processing for the participant and install it in the active participants table- Specified by:
activate
in classBAParticipantRecoveryRecord
-
isActive
public boolean isActive()test whether a participant is currently activated with the id of this recovery record.- Specified by:
isActive
in classBAParticipantRecoveryRecord
- Returns:
- true if a participant is currently activated with the id of this recovery record
-