public GlobalId activityId () throws NoActivityException, SystemException { ActivityImple curr = current(); if (curr == null) throw new NoActivityException(); // or return null? else return curr.getGlobalId(); }
public String serviceType() throws NoActivityException, SystemException { ActivityImple currentActivity = current(); if (currentActivity == null) { throw new NoActivityException(); } return currentActivity.serviceType(); }
public GlobalId activityId () throws NoActivityException, SystemException { ActivityImple curr = current(); if (curr == null) throw new NoActivityException(); // or return null? else return curr.getGlobalId(); }
/** * @return the unique coordinator identifier. */ public CoordinatorId identifier () throws NoActivityException, SystemException { ActivityImple curr = current(); if (curr == null) throw new NoActivityException(); return _coordManager.identifier(); }
public String serviceType() throws NoActivityException, SystemException { ActivityImple currentActivity = current(); if (currentActivity == null) { throw new NoActivityException(); } return currentActivity.serviceType(); }
public GlobalId activityId () throws NoActivityException, SystemException { ActivityImple curr = current(); if (curr == null) throw new NoActivityException(); // or return null? else return curr.getGlobalId(); }
public String serviceType() throws NoActivityException, SystemException { ActivityImple currentActivity = current(); if (currentActivity == null) { throw new NoActivityException(); } return currentActivity.serviceType(); }
/** * @return the unique coordinator identifier. */ public CoordinatorId identifier () throws NoActivityException, SystemException { ActivityImple curr = current(); if (curr == null) throw new NoActivityException(); return _coordManager.identifier(); }
/** * @return the unique coordinator identifier. */ public CoordinatorId identifier () throws NoActivityException, SystemException { ActivityImple curr = current(); if (curr == null) throw new NoActivityException(); return _coordManager.identifier(); }
/** * @return the unique coordinator identifier. */ public CoordinatorId identifier () throws NoActivityException, SystemException { ActivityImple curr = current(); if (curr == null) throw new NoActivityException(); return _coordManager.identifier(); }
public GlobalId activityId () throws NoActivityException, SystemException { ActivityImple curr = current(); if (curr == null) throw new NoActivityException(); // or return null? else return curr.getGlobalId(); }
public String serviceType() throws NoActivityException, SystemException { ActivityImple currentActivity = current(); if (currentActivity == null) { throw new NoActivityException(); } return currentActivity.serviceType(); }
/** * Get the completion status currently associated with the activity. * * @exception NoActivityException Thrown if there is no activity * associated with the current thread. * @exception SystemException Thrown if any other error occurs. * * @return the termination status for the current activity, if any. */ public CompletionStatus getCompletionStatus () throws NoActivityException, SystemException { ActivityImple curr = current(); if (curr == null) throw new NoActivityException(); else return curr.getCompletionStatus(); }
/** * Get the completion status currently associated with the activity. * * @exception NoActivityException Thrown if there is no activity * associated with the current thread. * @exception SystemException Thrown if any other error occurs. * * @return the termination status for the current activity, if any. */ public CompletionStatus getCompletionStatus () throws NoActivityException, SystemException { ActivityImple curr = current(); if (curr == null) throw new NoActivityException(); else return curr.getCompletionStatus(); }
/** * Get the completion status currently associated with the activity. * * @exception NoActivityException Thrown if there is no activity * associated with the current thread. * @exception SystemException Thrown if any other error occurs. * * @return the termination status for the current activity, if any. */ public CompletionStatus getCompletionStatus () throws NoActivityException, SystemException { ActivityImple curr = current(); if (curr == null) throw new NoActivityException(); else return curr.getCompletionStatus(); }
/** * What is the name of the current activity? Use only for * debugging purposes! * * @exception NoActivityException Thrown if there is no activity * associated with the invoking thread. * @exception SystemException Thrown if any other error occurs. * * @return the name of the activity. */ public String activityName () throws NoActivityException, SystemException { ActivityImple curr = current(); if (curr == null) throw new NoActivityException(); // or return null? else return curr.activityName(); }
/** * What is the name of the current activity? Use only for * debugging purposes! * * @exception NoActivityException Thrown if there is no activity * associated with the invoking thread. * @exception SystemException Thrown if any other error occurs. * * @return the name of the activity. */ public String activityName () throws NoActivityException, SystemException { ActivityImple curr = current(); if (curr == null) throw new NoActivityException(); // or return null? else return curr.activityName(); }
/** * Get the completion status currently associated with the activity. * * @exception NoActivityException Thrown if there is no activity * associated with the current thread. * @exception SystemException Thrown if any other error occurs. * * @return the termination status for the current activity, if any. */ public CompletionStatus getCompletionStatus () throws NoActivityException, SystemException { ActivityImple curr = current(); if (curr == null) throw new NoActivityException(); else return curr.getCompletionStatus(); }
/** * Set the termination status for the current activity, if any. * * @param endStatus The state in which the activity * should attempt to terminate. This may * be one of the default values provided by WSAS or may be extended in * an implementation specific manner by an HLS. * * @exception NoActivityException Thrown if there is no activity * associated with the invoking thread. * @exception WrongStateException Thrown if the completion status is * incompatible with the current state of the activity. * @exception SystemException Thrown if any other error occurs. */ public void setCompletionStatus (CompletionStatus endStatus) throws NoActivityException, WrongStateException, SystemException { ActivityImple curr = current(); if (curr == null) throw new NoActivityException(); curr.setCompletionStatus(endStatus); }
/** * What is the name of the current activity? Use only for * debugging purposes! * * @exception NoActivityException Thrown if there is no activity * associated with the invoking thread. * @exception SystemException Thrown if any other error occurs. * * @return the name of the activity. */ public String activityName () throws NoActivityException, SystemException { ActivityImple curr = current(); if (curr == null) throw new NoActivityException(); // or return null? else return curr.activityName(); }