/** * this should never get called * @throws com.arjuna.wst.SystemException */ public void error() throws SystemException { coordinator.error(); }
/** * initiate synchronization beforeCompletion processing for the bridged-to transaction * * @return true if the beforeCompletion succeeds otherwise false. */ public boolean prepareVolatile() { return coordinator.prepareVolatile(); }
/** * this is called as part of the after completion processing and should ensure that the interposed * coordinator performs its afterCompletion processing * @throws WrongStateException * @throws SystemException */ public void commit() throws WrongStateException, SystemException { coordinator.commitVolatile(); }
/** * normal constructor used when the subordinate coordinator is registered as a durable participant * with its parent coordinator. * * @param coordinator */ public SubordinateDurable2PCStub(SubordinateATCoordinator coordinator) { this.coordinator = coordinator; this.coordinatorId = coordinator.get_uid().stringForm(); this.recovered = false; }
/** * initiate synchronization afterCompletion processing for the bridged-to transaction following a * rollback */ public void rollbackVolatile() { coordinator.rollbackVolatile(); }
/** * rollback the bridged-to transaction */ public void rollback () { coordinator.rollback(); }
/** * prepare the bridged-to transaction * @return the result of preparing the transaction */ public int prepare () { return coordinator.prepare(); }
/** * perform a phase 2 commit for the bridged-to transaction */ public void commit () { coordinator.commit(); }
/** * this should never get called * @throws com.arjuna.wst.SystemException */ public void unknown() throws SystemException { coordinator.unknown(); }
/** * return a uid for the durable participant registered on behalf of this corodinator */ public String getDurable2PhaseId() { return PARTICIPANT_PREFIX + get_uid().stringForm() + "_D"; }
/** * this is called as part of the after completion processing and should ensure that the interposed * coordinator performs its afterCompletion processing * @throws WrongStateException * @throws SystemException */ public void commit() throws WrongStateException, SystemException { coordinator.commitVolatile(); }
/** * this is called as part of the after completion processing and should ensure that the interposed * coordinator performs its afterCompletion processing * @throws WrongStateException * @throws SystemException */ public void rollback() throws WrongStateException, SystemException { coordinator.rollbackVolatile(); }
/** * this should never get called * @throws com.arjuna.wst.SystemException */ public void error() throws SystemException { coordinator.error(); }
/** * this should never get called * @throws com.arjuna.wst.SystemException */ public void unknown() throws SystemException { coordinator.unknown(); }
/** * initiate synchronization afterCompletion processing for the bridged-to transaction following a * successful commit */ public void commitVolatile() { coordinator.commitVolatile(); }
/** * this is called as part of the after completion processing and should ensure that the interposed * coordinator performs its afterCompletion processing * @throws WrongStateException * @throws SystemException */ public void rollback() throws WrongStateException, SystemException { coordinator.rollbackVolatile(); }
/** * this should never get called * @throws com.arjuna.wst.SystemException */ public void error() throws SystemException { coordinator.error(); }
/** * this should never get called * @throws com.arjuna.wst.SystemException */ public void unknown() throws SystemException { coordinator.unknown(); }
/** * this is called as part of the after completion processing and should ensure that the interposed * coordinator performs its afterCompletion processing * @throws WrongStateException * @throws SystemException */ public void commit() throws WrongStateException, SystemException { coordinator.commitVolatile(); }
/** * this is called as part of the after completion processing and should ensure that the interposed * coordinator performs its afterCompletion processing * @throws WrongStateException * @throws SystemException */ public void rollback() throws WrongStateException, SystemException { coordinator.rollbackVolatile(); }