Package ca.eandb.jdcp.job

Examples of ca.eandb.jdcp.job.JobExecutionWrapper


     *     missing.
     * @throws JobExecutionException If the job throws an exception.
     */
    public void initializeJob(Serialized<ParallelizableJob> job) throws ClassNotFoundException, JobExecutionException {
      this.classLoader  = new StrategyClassLoader(classManager, JobServer.class.getClassLoader());
      this.job      = new JobExecutionWrapper(job.deserialize(classLoader));
      this.worker      = new Serialized<TaskWorker>(this.job.worker());
      notifyStatusChanged("");

      this.workingDirectory.mkdir();
      this.job.setHostService(this);
View Full Code Here


      //String title      = String.format("%s (%s)", this.job.getClass().getSimpleName(), this.id.toString());
      this.monitor      = monitor;
      this.monitor.notifyStatusChanged("Awaiting job submission");

      this.job      = new JobExecutionWrapper(job);
      this.worker      = new Serialized<TaskWorker>(this.job.worker());
      this.monitor.notifyStatusChanged("");
      this.job.initialize();
    }
View Full Code Here

TOP

Related Classes of ca.eandb.jdcp.job.JobExecutionWrapper

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.