/** * Given a token representing a context, associate it with the current * thread of control. This will implicitly disassociate the thread from any * activities that it may already be associated with. If the parameter is * null then the thread is associated with no activity. * * @param tx The activity to associate with this thread. This * may be null in which case the current thread becomes associated with * no activity. * * @exception InvalidActivityException Thrown if the activity handle * is invalid in this context. * @exception SystemException Thrown if any other error occurs. */ public void resume (ActivityHierarchy tx) throws InvalidActivityException, SystemException { UserActivityFactory.userActivity().resume(tx); }
/** * Given a token representing a context, associate it with the current * thread of control. This will implicitly disassociate the thread from any * activities that it may already be associated with. If the parameter is * null then the thread is associated with no activity. * * @param tx The activity to associate with this thread. This * may be null in which case the current thread becomes associated with * no activity. * * @exception InvalidActivityException Thrown if the activity handle * is invalid in this context. * @exception SystemException Thrown if any other error occurs. */ public void resume (ActivityHierarchy tx) throws InvalidActivityException, SystemException { UserActivityFactory.userActivity().resume(tx); }
/** * Given a token representing a context, associate it with the current * thread of control. This will implicitly disassociate the thread from any * activities that it may already be associated with. If the parameter is * null then the thread is associated with no activity. * * @param ActivityHierarchy * tx The activity to associate with this thread. This may be * null in which case the current thread becomes associated with * no activity. * * @exception InvalidActivityException * Thrown if the activity handle is invalid in this context. * @exception SystemException * Thrown if any other error occurs. */ public void resume (ActivityHierarchy tx) throws InvalidActivityException, SystemException { UserActivityFactory.userActivity().resume(tx); }
/** * Given a token representing a context, associate it with the current * thread of control. This will implicitly disassociate the thread from any * activities that it may already be associated with. If the parameter is * null then the thread is associated with no activity. * * @param ActivityHierarchy * tx The activity to associate with this thread. This may be * null in which case the current thread becomes associated with * no activity. * * @exception InvalidActivityException * Thrown if the activity handle is invalid in this context. * @exception SystemException * Thrown if any other error occurs. */ public void resume (ActivityHierarchy tx) throws InvalidActivityException, SystemException { UserActivityFactory.userActivity().resume(tx); }
UserActivityFactory.userActivity().resume(new ActivityHierarchyImple(element._activity)); UserActivityFactory.userActivity().end(Failure.instance()); UserActivityFactory.userActivity().suspend();
UserActivityFactory.userActivity().resume(new ActivityHierarchyImple(element._activity)); UserActivityFactory.userActivity().end(Failure.instance()); UserActivityFactory.userActivity().suspend();
UserActivityFactory.userActivity().resume(new ActivityHierarchyImple(element._activity)); UserActivityFactory.userActivity().end(Failure.instance()); UserActivityFactory.userActivity().suspend();
UserActivityFactory.userActivity().resume(new ActivityHierarchyImple(element._activity)); UserActivityFactory.userActivity().end(Failure.instance()); UserActivityFactory.userActivity().suspend();