protected void preExecExertion(Exertion exertion) throws ExertionException {
    try {
      exertion
          .getControlContext()
          .appendTrace(provider.getProviderName() + " dispatcher: " + getClass().getName());

      ExertionSessionInfo.add((ServiceExertion) exertion);
      // Provider is expecting exertion field in Context to be set.
      xrt.getContext().setExertion(xrt);
      updateInputs(exertion);
    } catch (Exception e) {
      throw new ExertionException(e);
    }
    ((ServiceExertion) exertion).startExecTime();
    ((ServiceExertion) exertion).setStatus(RUNNING);
  }