org.gridbus.broker.farming.common
Interface JobWrapper

All Known Implementing Classes:
AlchemiJobWrapper, CondorJobWrapper, ForkJobWrapper, GlobusJobWrapper, PBSJobWrapper, UnicoreJobWrapper

public interface JobWrapper

This is a model class for submitting jobs to various middleware such as Globus2.0 or Globus 3.0. The minimum nodeRequirements is a job and a server to which the job is submittted.

Author:
Srikumar Venugopal (srikumar@cs.mu.oz.au)

Method Summary
 void execute(Job j)
          This method actually starts the job process to the middleware.
 void terminate()
          This method terminates the process running on the remote host and initiates cleanup if required
 

Method Detail

execute

public void execute(Job j)
This method actually starts the job process to the middleware. Calls middleware specific functions

Parameters:
j - - Job to be executed

terminate

public void terminate()
This method terminates the process running on the remote host and initiates cleanup if required