Package com.sun.grid.jsv
Interface Jsv
- All Known Implementing Classes:
SimpleJsv
public interface Jsv
The Jsv interface is implemented by any class that will be used as a JSV.
The interface defines the callback methods used by the JsvManager class to
trigger the steps of job verification.
- Since:
- 6.2u5
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onStart
(JsvManager jsv) This method is called to start the job verification process.void
onVerify
(JsvManager jsv) This method is called to trigger the job verification step.
-
Method Details
-
onStart
This method is called to start the job verification process. In general, the most common use for this method is to call the JsvManager.requestEnvironment() method.- Parameters:
jsv
-- See Also:
-
onVerify
This method is called to trigger the job verification step. This method is used by the Jsv implementation to accept, modify, or reject the job. Information about the job being verified is available from the JobDescription instance retrieved from the JsvManager.getJobDescription() method. Changes made to the JobDescription instance will be propagated to the JSV framework. Before this method returns, it should call one of the result methods on the JsvManager instance, accept(), modify(), reject(), rejectWait(), or setResult(). If none is called, the job will be implicitly accepted or modified as appropriate.- Parameters:
jsv
-- See Also:
-