public class XTSBASubordinateRecoveryModule extends Object implements XTSBARecoveryModule
| Constructor and Description |
|---|
XTSBASubordinateRecoveryModule() |
| 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()
we don't need to use this because the BA recovery manager tracks whether a recovery scan has happened
|
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.
|
public BusinessAgreementWithParticipantCompletionParticipant deserializeParticipantCompletionParticipant(String id, ObjectInputStream stream) throws Exception
XTSBARecoveryModuledeserializeParticipantCompletionParticipant in interface XTSBARecoveryModuleid - 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 participantpublic BusinessAgreementWithParticipantCompletionParticipant recreateParticipantCompletionParticipant(String id, byte[] recoveryState) throws Exception
XTSBARecoveryModulerecreateParticipantCompletionParticipant in interface XTSBARecoveryModuleid - 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 participantpublic BusinessAgreementWithCoordinatorCompletionParticipant deserializeCoordinatorCompletionParticipant(String id, ObjectInputStream stream) throws Exception
XTSBARecoveryModuledeserializeCoordinatorCompletionParticipant in interface XTSBARecoveryModuleid - 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 participantpublic BusinessAgreementWithCoordinatorCompletionParticipant recreateCoordinatorCompletionParticipant(String id, byte[] recoveryState) throws Exception
XTSBARecoveryModulerecreateCoordinatorCompletionParticipant in interface XTSBARecoveryModuleid - 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 participantpublic void endScan()
endScan in interface XTSBARecoveryModuleCopyright © 2018 JBoss by Red Hat. All rights reserved.