public abstract class ATParticipantRecoveryRecord extends Object implements PersistableParticipant
| Modifier and Type | Field and Description |
|---|---|
protected String |
id |
protected Durable2PCParticipant |
participant |
| Modifier | Constructor and Description |
|---|---|
protected |
ATParticipantRecoveryRecord(String id,
Durable2PCParticipant participant)
construct the protocol-independent part of a WS-AT participant recovery record
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
activate()
create a participant engine to manage commit or rollback processing for the
participant and install it in the active participants table
|
String |
getId() |
abstract boolean |
isActive()
test whether a participant is currently activated with the id of this recovery record.
|
protected abstract void |
restoreEndpointReference(com.arjuna.ats.arjuna.state.InputObjectState ios)
restore the endpoint reference to the coordinator for this participant
|
boolean |
restoreParticipant(XTSATRecoveryModule module)
called during recovery processing to attempt to convert the restored application-
specific recovery state back into a participant
|
boolean |
restoreState(com.arjuna.ats.arjuna.state.InputObjectState ios)
Restore the state of the particpant from the specified input object stream.
|
protected abstract void |
saveEndpointReference(com.arjuna.ats.arjuna.state.OutputObjectState oos)
save the endpoint reference to the coordinator for this participant
|
boolean |
saveState(com.arjuna.ats.arjuna.state.OutputObjectState oos)
Retrieve and save the state of the particpant to the specified input object stream.
|
static String |
type() |
protected Durable2PCParticipant participant
protected String id
protected ATParticipantRecoveryRecord(String id, Durable2PCParticipant participant)
id - participant - public final boolean saveState(com.arjuna.ats.arjuna.state.OutputObjectState oos)
saveState in interface PersistableParticipantoos - The output output stream.public boolean restoreState(com.arjuna.ats.arjuna.state.InputObjectState ios)
restoreState in interface PersistableParticipantios - The Input object stream.public boolean restoreParticipant(XTSATRecoveryModule module) throws Exception
module - the XTS recovery module to be used to attempt the conversionExceptionpublic String getId()
public static String type()
protected abstract void saveEndpointReference(com.arjuna.ats.arjuna.state.OutputObjectState oos)
throws IOException,
XMLStreamException
IOExceptionXMLStreamExceptionprotected abstract void restoreEndpointReference(com.arjuna.ats.arjuna.state.InputObjectState ios)
throws IOException,
XMLStreamException
IOExceptionXMLStreamExceptionpublic abstract void activate()
public abstract boolean isActive()
Copyright © 2018 JBoss by Red Hat. All rights reserved.