Interface ParticipantWithComplete
- All Superinterfaces:
Participant
This is the interface that all two-phase aware participants must define.
- Since:
- 1.0.
- Version:
- $Id: ParticipantWithComplete.java,v 1.3 2005/05/19 12:13:24 nmcl Exp $
- Author:
- Mark Little (mark.little@arjuna.com)
-
Method Summary
Methods inherited from interface com.arjuna.mw.wscf.model.sagas.participants.Participant
cancel, close, compensate, forget, id, restore_state, save_state
-
Method Details
-
complete
Complete the participant.- Throws:
InvalidParticipantException
- Thrown if the participant identity is invalid (e.g., refers to an unknown participant.)WrongStateException
- Thrown if the state of the participant is such that it cannot cancel.SystemException
- Thrown if some other error occurred.
-