/** * Set the internal value. Not allowed for this class. * */ public void setValue (Object o) { wscfLogger.i18NLogger.warn_model_sagas_coordinator_arjunacore_ParticipantRecord_2(); }
/** * Set the internal value. Not allowed for this class. * */ public void setValue (Object o) { wscfLogger.i18NLogger.warn_model_twophase_arjunacore_ParticipantRecord_2(); }
/** * Constructor. * * @param theResource is the proxy that allows us to call out to the * object. * */ public SynchronizationRecord (Synchronization theResource, Uid id) { _resourceHandle = theResource; _id = new CoordinatorIdImple(id); if (_resourceHandle == null) wscfLogger.i18NLogger.warn_model_twophase_arjunacore_SynchronizationRecord_1(_id); }
public synchronized void participantReadOnly (String participantId) throws InvalidParticipantException, SystemException { if (participantId == null) throw new SystemException( wscfLogger.i18NLogger.get_model_twophase_arjunacore_ATCoordinator_2()); if (status() == ActionStatus.RUNNING) { changeParticipantStatus(participantId, READONLY); } else throw new SystemException( wscfLogger.i18NLogger.get_model_twophase_arjunacore_ATCoordinator_3()); }
/** * Constructor. * * @param theResource is the proxy that allows us to call out to the * object. * */ public SynchronizationRecord(Synchronization theResource, Uid id) { _resourceHandle = theResource; _id = new CoordinatorIdImple(id); if (_resourceHandle == null) wscfLogger.i18NLogger.warn_model_sagas_arjunacore_SynchronizationRecord_1(_id.toString()); }
/** * The record is being driven through nested commit. * */ public int nestedCommit () { try { if (_resourceHandle != null) { return TwoPhaseOutcome.FINISH_ERROR; } else return TwoPhaseOutcome.FINISH_ERROR; } catch (Exception ex6) { wscfLogger.i18NLogger.warn_model_twophase_arjunacore_ParticipantRecord_4(order(), ex6); return TwoPhaseOutcome.FINISH_ERROR; } }
/** * The record is being driven through nested prepare. * */ public int nestedPrepare () { try { if (_resourceHandle != null) { return TwoPhaseOutcome.FINISH_ERROR; } else return TwoPhaseOutcome.PREPARE_NOTOK; } catch (Exception e6) { wscfLogger.i18NLogger.warn_model_twophase_arjunacore_ParticipantRecord_5(order(), e6); return TwoPhaseOutcome.HEURISTIC_HAZARD; } }
/** * The record is being driven through nested commit and is the only * resource. * */ public int nestedOnePhaseCommit () { try { if (_resourceHandle != null) { return TwoPhaseOutcome.FINISH_ERROR; } else return TwoPhaseOutcome.FINISH_ERROR; } catch (Exception ex6) { wscfLogger.i18NLogger.warn_model_twophase_arjunacore_ParticipantRecord_9(order(), ex6); return TwoPhaseOutcome.FINISH_ERROR; } }
public synchronized void participantRolledBack (String participantId) throws InvalidParticipantException, WrongStateException, SystemException { if (participantId == null) throw new SystemException( wscfLogger.i18NLogger.get_model_twophase_arjunacore_ATCoordinator_2()); if (status() == ActionStatus.RUNNING) changeParticipantStatus(participantId, ROLLEDBACK); else throw new WrongStateException(); }
/** * Constructor. * * @param theResource * is the proxy that allows us to call out to the object. * */ public ParticipantRecord (Participant theResource, Uid id) { super(id, null, ObjectType.ANDPERSISTENT); _resourceHandle = theResource; _timeout = 0; _coordId = new CoordinatorIdImple(id); if (theResource == null) wscfLogger.i18NLogger.warn_model_twophase_arjunacore_ParticipantRecord_1(order()); }
/** * Constructor. * * @param theResource * is the proxy that allows us to call out to the object. * */ public ParticipantRecord (Participant theResource, Uid id) { super(id, null, ObjectType.ANDPERSISTENT); _resourceHandle = theResource; _timeout = 0; _coordId = new CoordinatorIdImple(id); if (theResource == null) wscfLogger.i18NLogger.warn_model_sagas_coordinator_arjunacore_ParticipantRecord_1(order()); }
public synchronized void participantReadOnly (String participantId) throws InvalidParticipantException, SystemException { if (participantId == null) throw new SystemException( wscfLogger.i18NLogger.get_model_twophase_arjunacore_ATCoordinator_2()); if (status() == ActionStatus.RUNNING) { changeParticipantStatus(participantId, READONLY); } else throw new SystemException( wscfLogger.i18NLogger.get_model_twophase_arjunacore_ATCoordinator_3()); }
/** * Set the internal value. Not allowed for this class. * */ public void setValue (Object o) { wscfLogger.i18NLogger.warn_model_sagas_coordinator_arjunacore_ParticipantRecord_2(); }
/** * Set the internal value. Not allowed for this class. * */ public void setValue (Object o) { wscfLogger.i18NLogger.warn_model_twophase_arjunacore_ParticipantRecord_2(); }
/** * Constructor. * * @param theResource is the proxy that allows us to call out to the * object. * */ public SynchronizationRecord(Synchronization theResource, Uid id) { _resourceHandle = theResource; _id = new CoordinatorIdImple(id); if (_resourceHandle == null) wscfLogger.i18NLogger.warn_model_sagas_arjunacore_SynchronizationRecord_1(_id.toString()); }
/** * Constructor. * * @param theResource is the proxy that allows us to call out to the * object. * */ public SynchronizationRecord (Synchronization theResource, Uid id) { _resourceHandle = theResource; _id = new CoordinatorIdImple(id); if (_resourceHandle == null) wscfLogger.i18NLogger.warn_model_twophase_arjunacore_SynchronizationRecord_1(_id); }
/** * The record is being driven through nested commit. * */ public int nestedCommit () { try { if (_resourceHandle != null) { return TwoPhaseOutcome.FINISH_ERROR; } else return TwoPhaseOutcome.FINISH_ERROR; } catch (Exception ex6) { wscfLogger.i18NLogger.warn_model_twophase_arjunacore_ParticipantRecord_4(order(), ex6); return TwoPhaseOutcome.FINISH_ERROR; } }
/** * The record is being driven through nested prepare. * */ public int nestedPrepare () { try { if (_resourceHandle != null) { return TwoPhaseOutcome.FINISH_ERROR; } else return TwoPhaseOutcome.PREPARE_NOTOK; } catch (Exception e6) { wscfLogger.i18NLogger.warn_model_twophase_arjunacore_ParticipantRecord_5(order(), e6); return TwoPhaseOutcome.HEURISTIC_HAZARD; } }
/** * The record is being driven through nested commit and is the only * resource. * */ public int nestedOnePhaseCommit () { try { if (_resourceHandle != null) { return TwoPhaseOutcome.FINISH_ERROR; } else return TwoPhaseOutcome.FINISH_ERROR; } catch (Exception ex6) { wscfLogger.i18NLogger.warn_model_twophase_arjunacore_ParticipantRecord_9(order(), ex6); return TwoPhaseOutcome.FINISH_ERROR; } }
public synchronized void participantRolledBack (String participantId) throws InvalidParticipantException, WrongStateException, SystemException { if (participantId == null) throw new SystemException( wscfLogger.i18NLogger.get_model_twophase_arjunacore_ATCoordinator_2()); if (status() == ActionStatus.RUNNING) changeParticipantStatus(participantId, ROLLEDBACK); else throw new WrongStateException(); }