public BACoordinator() { super(); _theId = new CoordinatorIdImple(get_uid()); }
/** * @exception SystemException Thrown if any error occurs. * * @return The unique identity of the current coordinator. */ public CoordinatorId identifier () throws NoCoordinatorException, SystemException { return currentCoordinator().identifier(); }
/** * The current activity is completing and informs the participants * that all work they need to know about has been received. */ public void complete () throws WrongStateException, SystemException { currentCoordinator().complete(); }
/** * Not supported by basic ArjunaCore. * * @exception SystemException Thrown if any error occurs. * * @return the complete list of qualifiers that have been registered with * the current coordinator. */ public Qualifier[] qualifiers () throws NoCoordinatorException, SystemException { return currentCoordinator().qualifiers(); }
public void participantFaulted (String participantId) throws NoActivityException, InvalidParticipantException, SystemException { currentCoordinator().participantFaulted(participantId); }
public void participantCompleted (String participantId) throws NoActivityException, InvalidParticipantException, WrongStateException, SystemException { currentCoordinator().participantCompleted(participantId); }
public void participantCannotComplete (String participantId) throws NoActivityException, InvalidParticipantException, WrongStateException, SystemException { currentCoordinator().participantCannotComplete(participantId); }
/** * Remove the specified participant from the coordinator's list. * * @exception InvalidParticipantException Thrown if the participant is not known * of by the coordinator. * @exception WrongStateException Thrown if the state of the coordinator * does not allow the participant to be removed (e.g., in a two-phase * protocol the coordinator is committing.) * @exception SystemException Thrown if any other error occurs. */ public void delistParticipant (String participantId) throws InvalidParticipantException, NoCoordinatorException, WrongStateException, SystemException { currentCoordinator().delistParticipant(participantId); }
public BACoordinator(Uid recovery) { super(recovery); _theId = new CoordinatorIdImple(get_uid()); }
/** * @exception SystemException Thrown if any error occurs. * * @return The unique identity of the current coordinator. */ public CoordinatorId identifier () throws NoCoordinatorException, SystemException { return currentCoordinator().identifier(); }
/** * The current activity is completing and informs the participants * that all work they need to know about has been received. */ public void complete () throws WrongStateException, SystemException { currentCoordinator().complete(); }
/** * Not supported by basic ArjunaCore. * * @exception SystemException Thrown if any error occurs. * * @return the complete list of qualifiers that have been registered with * the current coordinator. */ public Qualifier[] qualifiers () throws NoCoordinatorException, SystemException { return currentCoordinator().qualifiers(); }
public void participantFaulted (String participantId) throws NoActivityException, InvalidParticipantException, SystemException { currentCoordinator().participantFaulted(participantId); }
public void participantCompleted (String participantId) throws NoActivityException, InvalidParticipantException, WrongStateException, SystemException { currentCoordinator().participantCompleted(participantId); }
public void participantCannotComplete (String participantId) throws NoActivityException, InvalidParticipantException, WrongStateException, SystemException { currentCoordinator().participantCannotComplete(participantId); }
/** * Remove the specified participant from the coordinator's list. * * @exception InvalidParticipantException Thrown if the participant is not known * of by the coordinator. * @exception WrongStateException Thrown if the state of the coordinator * does not allow the participant to be removed (e.g., in a two-phase * protocol the coordinator is committing.) * @exception SystemException Thrown if any other error occurs. */ public void delistParticipant (String participantId) throws InvalidParticipantException, NoCoordinatorException, WrongStateException, SystemException { currentCoordinator().delistParticipant(participantId); }
public BACoordinator() { super(); _theId = new CoordinatorIdImple(get_uid()); }
public BACoordinator(Uid recovery) { super(recovery); _theId = new CoordinatorIdImple(get_uid()); }