public interface XTSBARecoveryModule
Modifier and Type | Method and Description |
---|---|
BusinessAgreementWithCoordinatorCompletionParticipant |
deserializeCoordinatorCompletionParticipant(String id,
ObjectInputStream stream)
called during recovery processing to allow an application to identify a participant id
belonging to one of its participants and recreate the participant by deserializing
it from the supplied object input stream.
|
BusinessAgreementWithParticipantCompletionParticipant |
deserializeParticipantCompletionParticipant(String id,
ObjectInputStream stream)
called during recovery processing to allow an application to identify a participant id
belonging to one of its participants and recreate the participant by deserializing
it from the supplied object input stream.
|
void |
endScan()
participant recovery modules may need to perform special processing when the a recovery scan has
completed.
|
BusinessAgreementWithCoordinatorCompletionParticipant |
recreateCoordinatorCompletionParticipant(String id,
byte[] recoveryState)
called during recovery processing to allow an application to identify a participant id
belonging to one of its participants and use the saved recovery state to recreate the
participant.
|
BusinessAgreementWithParticipantCompletionParticipant |
recreateParticipantCompletionParticipant(String id,
byte[] recoveryState)
called during recovery processing to allow an application to identify a participant id
belonging to one of its participants and use the saved recovery state to recreate the
participant.
|
BusinessAgreementWithParticipantCompletionParticipant deserializeParticipantCompletionParticipant(String id, ObjectInputStream stream) throws Exception
id
- the id used when the participant was createdstream
- a stream from which the application should deserialise the participant
if it recognises that the id belongs to the module's applicationException
- if an error occurs deserializing the ParticipantCompletion participantBusinessAgreementWithParticipantCompletionParticipant recreateParticipantCompletionParticipant(String id, byte[] recoveryState) throws Exception
id
- the id used when the participant was createdrecoveryState
- a byte array returned form the original participant via a call to
method getRecoveryState of interface PersistableBAParticipantException
- if an error occurs converting the recoveryState back to a
ParticipantCompletion participantBusinessAgreementWithCoordinatorCompletionParticipant deserializeCoordinatorCompletionParticipant(String id, ObjectInputStream stream) throws Exception
id
- the id used when the participant was createdstream
- a stream from which the application should deserialise the participant
if it recognises that the id belongs to the module's applicationException
- if an error occurs deserializing the CoordinatorCompletion participantBusinessAgreementWithCoordinatorCompletionParticipant recreateCoordinatorCompletionParticipant(String id, byte[] recoveryState) throws Exception
id
- the id used when the participant was createdrecoveryState
- a byte array returned form the original participant via a call to
method getRecoveryState of interface PersistableBAParticipantException
- if an error occurs converting the recoveryState back to a
CoordinatorCompletion participantvoid endScan()
Copyright © 2018 JBoss by Red Hat. All rights reserved.