/** * @return <code>true</code> if this activity has active children, <code> * false</code> * otherwise. */ private final boolean activeChildren () { Enumeration e = _children.keys(); while (e.hasMoreElements()) { ActivityImple child = (ActivityImple) _children.get(e.nextElement()); try { if ((child != null) && (child.status().equals(Active.instance()))) { return true; } } catch (Exception ex) { return true; // what else can we do? } } return false; }
/** * @return <code>true</code> if this activity has active children, <code> * false</code> * otherwise. */ private final boolean activeChildren () { Enumeration e = _children.keys(); while (e.hasMoreElements()) { ActivityImple child = (ActivityImple) _children.get(e.nextElement()); try { if ((child != null) && (child.status().equals(Active.instance()))) { return true; } } catch (Exception ex) { return true; // what else can we do? } } return false; }
/** * @return <code>true</code> if this activity has active children, <code> * false</code> * otherwise. */ private final boolean activeChildren () { Enumeration e = _children.keys(); while (e.hasMoreElements()) { ActivityImple child = (ActivityImple) _children.get(e.nextElement()); try { if ((child != null) && (child.status().equals(Active.instance()))) { return true; } } catch (Exception ex) { return true; // what else can we do? } } return false; }
/** * @return <code>true</code> if this activity has active children, <code> * false</code> * otherwise. */ private final boolean activeChildren () { Enumeration e = _children.keys(); while (e.hasMoreElements()) { ActivityImple child = (ActivityImple) _children.get(e.nextElement()); try { if ((child != null) && (child.status().equals(Active.instance()))) { return true; } } catch (Exception ex) { return true; // what else can we do? } } return false; }
/** * @exception SystemException Thrown if any error occurs. * * @return the status of the current activity. If there is no * activity associated with the thread then NoActivity * will be returned. * * @see com.arjuna.mw.wsas.status.Status */ public com.arjuna.mw.wsas.status.Status status () throws SystemException { ActivityImple curr = current(); if (curr == null) return NoActivity.instance(); else return curr.status(); }
/** * @exception SystemException Thrown if any error occurs. * * @return the status of the current activity. If there is no * activity associated with the thread then NoActivity * will be returned. * * @see com.arjuna.mw.wsas.status.Status */ public com.arjuna.mw.wsas.status.Status status () throws SystemException { ActivityImple curr = current(); if (curr == null) return NoActivity.instance(); else return curr.status(); }
/** * @exception SystemException Thrown if any error occurs. * * @return the status of the current activity. If there is no * activity associated with the thread then NoActivity * will be returned. * * @see com.arjuna.mw.wsas.status.Status */ public com.arjuna.mw.wsas.status.Status status () throws SystemException { ActivityImple curr = current(); if (curr == null) return NoActivity.instance(); else return curr.status(); }
/** * @exception SystemException Thrown if any error occurs. * * @return the status of the current activity. If there is no * activity associated with the thread then NoActivity * will be returned. * * @see com.arjuna.mw.wsas.status.Status */ public com.arjuna.mw.wsas.status.Status status () throws SystemException { ActivityImple curr = current(); if (curr == null) return NoActivity.instance(); else return curr.status(); }
status = element._activity.status();
status = element._activity.status();
status = element._activity.status();
status = element._activity.status();