public final BACoordinator currentCoordinator () throws NoCoordinatorException, SystemException { BACoordinator coord = (BACoordinator) _coordinators.get(currentActivity()); if (coord == null) throw new NoCoordinatorException(); else return coord; }
public final BACoordinator currentCoordinator () throws NoCoordinatorException, SystemException { BACoordinator coord = (BACoordinator) _coordinators.get(currentActivity()); if (coord == null) throw new NoCoordinatorException(); else return coord; }
_coordinators.remove(currentActivity());
_coordinators.remove(currentActivity());
/** * An activity has begun and is active on the current thread. */ public void begin () throws SystemException { try { BACoordinator coord = new BACoordinator(); int status = coord.start(parentCoordinator()); if (status != ActionStatus.RUNNING) throw new BegunFailedException(wscfLogger.i18NLogger.get_model_sagas_arjunacore_CoordinatorControl_1() + ActionStatus.stringForm(status)); else { _coordinators.put(currentActivity(), coord); } } catch (SystemException ex) { throw ex; } catch (Exception ex) { throw new UnexpectedException(ex.toString()); } }
/** * An activity has begun and is active on the current thread. */ public void begin () throws SystemException { try { BACoordinator coord = new BACoordinator(); int status = coord.start(parentCoordinator()); if (status != ActionStatus.RUNNING) throw new BegunFailedException(wscfLogger.i18NLogger.get_model_sagas_arjunacore_CoordinatorControl_1() + ActionStatus.stringForm(status)); else { _coordinators.put(currentActivity(), coord); } } catch (SystemException ex) { throw ex; } catch (Exception ex) { throw new UnexpectedException(ex.toString()); } }