/** * Start a new activity. If there is already an activity associated * with the thread then it will be nested. An implementation specific * timeout will be associated with the activity (which may be no * timeout). * * @exception WrongStateException Thrown if the any currently associated * activity is in a state that does not allow a new activity to be * enlisted. * @exception SystemException Thrown in any other situation. */ public void begin (String coordinationType) throws WrongStateException, SystemException { UserActivityFactory.userActivity().start(coordinationType); }
/** * Start a new activity. If there is already an activity associated with the * thread then it will be nested. An implementation specific timeout will be * associated with the activity (which may be no timeout). * * @exception WrongStateException * Thrown if the any currently associated activity is in a * state that does not allow a new activity to be enlisted. * @exception SystemException * Thrown in any other situation. */ public void begin (String serviceType) throws WrongStateException, SystemException { UserActivityFactory.userActivity().start(serviceType); }
/** * Start a new activity. If there is already an activity associated with the * thread then it will be nested. An implementation specific timeout will be * associated with the activity (which may be no timeout). * * @exception WrongStateException * Thrown if the any currently associated activity is in a * state that does not allow a new activity to be enlisted. * @exception SystemException * Thrown in any other situation. */ public void begin (String serviceType) throws WrongStateException, SystemException { UserActivityFactory.userActivity().start(serviceType); }
/** * Start a new activity. If there is already an activity associated * with the thread then it will be nested. An implementation specific * timeout will be associated with the activity (which may be no * timeout). * * @exception WrongStateException Thrown if the any currently associated * activity is in a state that does not allow a new activity to be * enlisted. * @exception SystemException Thrown in any other situation. */ public void begin (String coordinationType) throws WrongStateException, SystemException { UserActivityFactory.userActivity().start(coordinationType); }
/** * Start a new activity. If there is already an activity associated * with the thread then it will be nested. * * @param timeout The timeout associated with the activity. If the * activity has not been terminated by the time this period elapses, then * it will automatically be terminated. * @exception WrongStateException Thrown if the currently associated * activity is in a state that does not allow a new activity to be * enlisted as a child. * @exception InvalidTimeoutException Thrown if the specified timeout is * invalid within the current working environment. * @exception SystemException Thrown in any other situation. */ public void begin (String coordinationType, int timeout) throws WrongStateException, InvalidTimeoutException, SystemException { UserActivityFactory.userActivity().start(coordinationType, timeout); }
/** * Start a new activity. If there is already an activity associated * with the thread then it will be nested. * * @param timeout The timeout associated with the activity. If the * activity has not been terminated by the time this period elapses, then * it will automatically be terminated. * @exception WrongStateException Thrown if the currently associated * activity is in a state that does not allow a new activity to be * enlisted as a child. * @exception InvalidTimeoutException Thrown if the specified timeout is * invalid within the current working environment. * @exception SystemException Thrown in any other situation. */ public void begin (String coordinationType, int timeout) throws WrongStateException, InvalidTimeoutException, SystemException { UserActivityFactory.userActivity().start(coordinationType, timeout); }
/** * Start a new activity. If there is already an activity associated with the * thread then it will be nested. * * @param int * timeout The timeout associated with the activity. If the * activity has not been terminated by the time this period * elapses, then it will automatically be terminated. * @exception WrongStateException * Thrown if the currently associated activity is in a state * that does not allow a new activity to be enlisted as a * child. * @exception InvalidTimeoutException * Thrown if the specified timeout is invalid within the * current working environment. * @exception SystemException * Thrown in any other situation. */ public void begin (String serviceType, int timeout) throws WrongStateException, InvalidTimeoutException, SystemException { UserActivityFactory.userActivity().start(serviceType, timeout); }
/** * Start a new activity. If there is already an activity associated with the * thread then it will be nested. * * @param int * timeout The timeout associated with the activity. If the * activity has not been terminated by the time this period * elapses, then it will automatically be terminated. * @exception WrongStateException * Thrown if the currently associated activity is in a state * that does not allow a new activity to be enlisted as a * child. * @exception InvalidTimeoutException * Thrown if the specified timeout is invalid within the * current working environment. * @exception SystemException * Thrown in any other situation. */ public void begin (String serviceType, int timeout) throws WrongStateException, InvalidTimeoutException, SystemException { UserActivityFactory.userActivity().start(serviceType, timeout); }