code: public static Object materializeJob(final Job job) throws ClassNotFoundException, Exception {
          final Class<?> clazz = ReflectionUtils.forName(job.getClassName());
          // A bit redundant since we check when the job type is added...
          if (!Runnable.class.isAssignableFrom(clazz) && !Callable.class.isAssignableFrom(clazz)) {
              throw new ClassCastException("jobs must be a Runnable or a Callable: " + clazz.getName() + " - " + job);
          }
          return ReflectionUtils.createObject(clazz, job.getArgs(), job.getVars());
      }
docs: Materializes a job by assuming the {@link Job#getClassName()} is a
  fully-qualified Java type.
  
  @param job
  the job to materialize
  @return the materialized job
  @throws ClassNotFoundException
  if the class could not be found
  @throws Exception
  if there was an exception creating the object