org.gridbus.broker.farming.globus
Class GlobusJobWrapper

java.lang.Object
  extended by org.gridbus.broker.farming.common.JobWrapper
      extended by org.gridbus.broker.farming.globus.GlobusJobWrapper
Direct Known Subclasses:
GT4JobWrapper

public class GlobusJobWrapper
extends JobWrapper

This class interacts with the Globus 2.4/3.2 pre-WS gatekeeper at the remote host. It creates RSL for the job, submits RSL to the remote host . The actual job submission is done in a separate thread.

Author:
Jia Yu (jiayu@cs.mu.oz.au), Srikumar Venugopal (srikumar@cs.mu.oz.au), Brett Beeson (bbeeson@ph.unimelb.edu.au)
See Also:
JobWrapper

Constructor Summary
GlobusJobWrapper()
           
GlobusJobWrapper(org.ietf.jgss.GSSCredential proxy)
          Constructor
GlobusJobWrapper(java.lang.Object o)
           
 
Method Summary
 org.ietf.jgss.GSSCredential getProxy()
          Returns the GSSCredential proxy
 void setProxy(org.ietf.jgss.GSSCredential credential)
          Sets the GSS credential
 void terminate()
          This method terminates the process running on the remote host and initiates cleanup if required
 
Methods inherited from class org.gridbus.broker.farming.common.JobWrapper
executeJob, getConfig, getLocalWorkingDir
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlobusJobWrapper

public GlobusJobWrapper()

GlobusJobWrapper

public GlobusJobWrapper(java.lang.Object o)
Parameters:
o -

GlobusJobWrapper

public GlobusJobWrapper(org.ietf.jgss.GSSCredential proxy)
Constructor

Parameters:
proxy -
Method Detail

terminate

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

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

getProxy

public org.ietf.jgss.GSSCredential getProxy()
Returns the GSSCredential proxy

Returns:
the user proxy

setProxy

public void setProxy(org.ietf.jgss.GSSCredential credential)
Sets the GSS credential

Parameters:
credential - - the user credential