uk.ac.soton.itinnovation.grid.comms.job
Interface JobResource

All Superinterfaces:
PolicyManagement, ResourceMetadata, Signallable, WSResourceLifetime
All Known Subinterfaces:
JobConversation, JobServiceSOAP
All Known Implementing Classes:
JobConversationImpl, JobServiceModule

public interface JobResource
extends WSResourceLifetime, PolicyManagement, ResourceMetadata, Signallable


Field Summary
static String JOB_RESOURCE_TYPE
           
 
Method Summary
 void cancelJob()
          Cancel a job that has been started.
 JobStatus checkJob()
          Check the current status of a job.
 void finishJob()
          Finish the job conversation.
 String getJSDL()
          Retrieves the original JSDL Document used to create the job
 void startJob(String[] args)
          Deprecated. See submitJob(org.w3c.dom.Document, java.lang.String[]).
 void submitJob(Document jobConstraints, String[] args)
          Deprecated. See submitJobJSDL(). Submit the job to the queue, via the platform scripts. All inputs must already have been uploaded before this is called. Job execution is controlled by the underlying resource manager.
 void submitJobJSDL()
          Submit the job (already defined by a JSDL document) to the queue, via the platform scripts.
 
Methods inherited from interface uk.ac.soton.itinnovation.grid.comms.wsrf.WSResourceLifetime
destroy
 
Methods inherited from interface uk.ac.soton.itinnovation.grid.types.PolicyManagement
addPolicyRule, getPolicyRules, getValidRoles, removePolicyRule
 
Methods inherited from interface uk.ac.soton.itinnovation.grid.types.ResourceMetadata
getEPR, setLabel
 
Methods inherited from interface uk.ac.soton.itinnovation.grid.types.Signallable
getAvailableSignals, signal
 

Field Detail

JOB_RESOURCE_TYPE

static final String JOB_RESOURCE_TYPE
See Also:
Constant Field Values
Method Detail

startJob

@Deprecated
@WebMethod
void startJob(String[] args)
              throws RemoteException
Deprecated. See submitJob(org.w3c.dom.Document, java.lang.String[]).

Throws:
RemoteException

submitJob

@Deprecated
@WebMethod
void submitJob(Document jobConstraints,
                                    String[] args)
               throws RemoteException
Deprecated. See submitJobJSDL(). Submit the job to the queue, via the platform scripts. All inputs must already have been uploaded before this is called. Job execution is controlled by the underlying resource manager.

Parameters:
jobConstraints - job constraints to be passed to the platform scripts
args - arguments to pass to the application
Throws:
RemoteException

submitJobJSDL

@WebMethod
void submitJobJSDL()
                   throws RemoteException
Submit the job (already defined by a JSDL document) to the queue, via the platform scripts. All inputs must already have been uploaded before this is called. Job execution is controlled by the underlying resource manager.

Throws:
RemoteException

checkJob

@WebMethod
JobStatus checkJob()
                   throws RemoteException
Check the current status of a job.

Returns:
The current status of the job
Throws:
RemoteException

cancelJob

@WebMethod
void cancelJob()
               throws RemoteException
Cancel a job that has been started.

Throws:
RemoteException

finishJob

@WebMethod
void finishJob()
               throws RemoteException
Finish the job conversation.

Throws:
RemoteException

getJSDL

@WebMethod
String getJSDL()
               throws RemoteException
Retrieves the original JSDL Document used to create the job

Throws:
RemoteException


Copyright © 2001-2007 University of Southampton IT Innovation Centre. All Rights Reserved.