org.gridbus.broker.farming.unicore
Class UnicoreJobWrapper

java.lang.Object
  |
  +--org.gridbus.broker.farming.unicore.UnicoreJobWrapper
All Implemented Interfaces:
JobWrapper

public class UnicoreJobWrapper
extends java.lang.Object
implements JobWrapper

This class interacts with UNICORE Gateway and NJS at the remote host. It creates an AJO corresponding to the job, submits AJO to the remote host and spawns off a UnicoreJobMonitor thread to monitor the job.

See Also:
JobWrapper

Constructor Summary
UnicoreJobWrapper()
          Constructor
 
Method Summary
 void execute(Job job)
          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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnicoreJobWrapper

public UnicoreJobWrapper()
Constructor

Method Detail

execute

public void execute(Job job)
Description copied from interface: JobWrapper
This method actually starts the job process to the middleware. Calls middleware specific functions

Specified by:
execute in interface JobWrapper
Parameters:
job - - Job to be executed
See Also:
JobWrapper.execute(org.gridbus.broker.farming.common.Job)

terminate

public void terminate()
Description copied from interface: JobWrapper
This method terminates the process running on the remote host and initiates cleanup if required

Specified by:
terminate in interface JobWrapper
See Also:
JobWrapper.terminate()