public class ATParticipantRecoveryRecord extends ATParticipantRecoveryRecord
id, participant| Constructor and Description |
|---|
ATParticipantRecoveryRecord()
constructor used during recovery processing to create a record whose contents will be
recovered from the object store
|
ATParticipantRecoveryRecord(String id,
Durable2PCParticipant participant,
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(InputObjectState ios)
restore the endpoint reference to the coordinator for this participant
|
protected void |
saveEndpointReference(OutputObjectState oos)
save the endpoint reference to the coordinator for this participant
|
getId, restoreParticipant, restoreState, saveState, typepublic ATParticipantRecoveryRecord(String id, Durable2PCParticipant participant, W3CEndpointReference endpoint)
id - the id of the application-specific participantparticipant - the application-specific participant - public ATParticipantRecoveryRecord()
protected void saveEndpointReference(OutputObjectState oos) throws IOException
saveEndpointReference in class ATParticipantRecoveryRecordIOExceptionprotected void restoreEndpointReference(InputObjectState ios) throws IOException
restoreEndpointReference in class ATParticipantRecoveryRecordIOExceptionpublic void activate()
activate in class ATParticipantRecoveryRecordpublic boolean isActive()
isActive in class ATParticipantRecoveryRecordCopyright © 2013. All rights reserved.