Package com.arjuna.wst
Interface PersistableParticipant
- All Known Implementing Classes:
ATParticipantRecoveryRecord
,ATParticipantRecoveryRecord
,BAParticipantRecoveryRecord
,BAParticipantRecoveryRecord
,BusinessAgreementWithCoordinatorCompletionStub
,BusinessAgreementWithParticipantCompletionStub
,Durable2PCStub
,ParticipantStub
,SubordinateCoordinatorCompletionParticipantStub
,SubordinateDurable2PCStub
,Volatile2PCStub
public interface PersistableParticipant
The interface for a persistable resource.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Restore the state of the particpant from the specified input object stream.boolean
Save the state of the particpant to the specified input object stream.
-
Method Details
-
saveState
Save the state of the particpant to the specified input object stream.- Parameters:
oos
- The output output stream.- Returns:
- true if persisted, false otherwise.
-
restoreState
Restore the state of the particpant from the specified input object stream.- Parameters:
ios
- The Input object stream.- Returns:
- true if restored, false otherwise.
-