org.globus.ogsa.impl.base.gram.client
Class GlobusRun

java.lang.Object
  extended byorg.globus.ogsa.impl.base.gram.client.GlobusRun
All Implemented Interfaces:
GramJobListener

public class GlobusRun
extends java.lang.Object
implements GramJobListener

This command-line tool requests and submits jobs to a GT3 GRAM server (Master Managed Job Factory Service). Job Service Destruction

Execution errors and user interrupt events are handled by automatically destroying the requested job service(s), unless the -batch option is on the command-line. The -batch option prevents the tool from listening to job status changes and from waiting for the job to finish. If -batch is selected, the command will return as soon as the remote job has been submitted.

The behavior of the tool with respect to job service destruction will vary in response to several kinds of events:

If the virtual machine aborts, that is, stops running without shutting down cleanly, for instance because it received a SIGKILL signal on Unix, then no guarantee can be made about whether or not the job service(s) will be destroyed.

Note: the shutdown behavior explained above cannot be guaranteed if the JVM option -Xrs is entered. The recommended way to disable service destruction is to specify the -batch option on the command-line. Use -help for more help and a list of available options.


Field Summary
static java.lang.String GLOBUSRUN_GASS_URL
          The variable name to use in input RSL when refering to the URL of the local GASS server, if started.
 
Constructor Summary
GlobusRun(java.lang.String[] args)
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void statusChanged(GramJob job)
          Callback as a GramJobListener.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GLOBUSRUN_GASS_URL

public static final java.lang.String GLOBUSRUN_GASS_URL
The variable name to use in input RSL when refering to the URL of the local GASS server, if started.

See Also:
Constant Field Values
Constructor Detail

GlobusRun

public GlobusRun(java.lang.String[] args)
Method Detail

main

public static void main(java.lang.String[] args)

statusChanged

public void statusChanged(GramJob job)
Callback as a GramJobListener. Will not be called in batch mode.

Specified by:
statusChanged in interface GramJobListener
Parameters:
job - The GramJob whose status has changed.