com.arjuna.mw.wscf.model.sagas.participants
Interface ParticipantWithComplete

All Superinterfaces:
Participant

public interface ParticipantWithComplete
extends 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
 void complete()
          Complete the participant.
 
Methods inherited from interface com.arjuna.mw.wscf.model.sagas.participants.Participant
cancel, close, compensate, forget, id, restore_state, save_state
 

Method Detail

complete

void complete()
              throws InvalidParticipantException,
                     WrongStateException,
                     SystemException
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.


Copyright © 2012. All Rights Reserved.