/** * @exception SystemException * Thrown if any error occurs. * * @return The unique identity of the current coordinator. */ public CoordinatorId identifier () throws NoCoordinatorException, SystemException { return currentCoordinator().identifier(); }
public ATCoordinator(Uid recovery) { super(recovery); _theId = new CoordinatorIdImple(get_uid()); }
public void participantReadOnly (String participantId) throws NoActivityException, InvalidParticipantException, SystemException { currentCoordinator().participantReadOnly(participantId); }
public void participantRolledBack (String participantId) throws NoActivityException, InvalidParticipantException, WrongStateException, SystemException { currentCoordinator().participantRolledBack(participantId); }
/** * this is driven by a volatile participant registered on behalf of the coordinator */ public void rollbackVolatile() { if (isReadonly) { super.afterCompletion(ActionStatus.ABORTED); } else { super.afterCompletion(finalStatus); } }
/** * this is driven by a volatile participant registered on behalf of the coordinator * * @return true if the beforeCompletion succeeds otherwise false. */ public boolean prepareVolatile() { return super.beforeCompletion(); }
/** * The current activity is completing with the specified completion status. * * @param cs The completion status to use. * * @return The result of terminating the relationship of this HLS and the * current activity. */ public Outcome complete (CompletionStatus cs) throws SystemException { return _coordManager.complete(cs); }
/** * The activity has completed and is no longer active on the current thread. */ public void completed () throws SystemException { _coordManager.completed(); }
/** * @exception com.arjuna.mw.wsas.exceptions.SystemException * Thrown if any error occurs. * * @return The unique identity of the current coordinator. */ public CoordinatorId identifier () throws NoCoordinatorException, SystemException { return _coordManager.identifier(); }
/** * An activity has begun and is active on the current thread. */ public void begun () throws SystemException { _coordManager.begin(); }
public ATCoordinator(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(); }
public void participantReadOnly (String participantId) throws NoActivityException, InvalidParticipantException, SystemException { currentCoordinator().participantReadOnly(participantId); }
public void participantRolledBack (String participantId) throws NoActivityException, InvalidParticipantException, WrongStateException, SystemException { currentCoordinator().participantRolledBack(participantId); }
/** * this is driven by a volatile participant registered on behalf of the coordinator */ public void commitVolatile() { if (isReadonly) { super.afterCompletion(ActionStatus.COMMITTED); } else { super.afterCompletion(finalStatus); } }
/** * this is driven by a volatile participant registered on behalf of the coordinator * * @return true if the beforeCompletion succeeds otherwise false. */ public boolean prepareVolatile() { return super.beforeCompletion(); }
public ATCoordinator() { super(); _theId = new CoordinatorIdImple(get_uid()); }
public ATCoordinator() { super(); _theId = new CoordinatorIdImple(get_uid()); }