|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface WebServiceDispatcher
The Web Service interface for executing jobs.
The Web Service is responsible for exposing both synchronous and asynchronous jobManager exectution models. It is also responsible for providing meta-data about the applications, their inputs and their outputs.
| Method Summary | |
|---|---|
MetaData |
describeApplication(String application)
Describe an application. |
List<MetaData> |
getInputs(String application)
Describe the inputs of an application. |
List<MetaData> |
getOutputs(String application)
Describe the outputs of an application. |
BlockedInvocationResponse |
invokeAndBlock(JobSpecification jobSpec)
Invoke the jobManager, and return the result. |
NonBlockingInvocationResponse |
invokeNonBlocking(JobSpecification jobSpec)
Invoke the jobManager, returning immediately. |
List<String> |
listApplications()
List all of the applications known by this service. |
NonBlockingInvocationResponse |
pollForResult(UUID uuid)
Poll the jobManager for completion. |
| Method Detail |
|---|
List<String> listApplications()
List of Strings of names of applications
MetaData describeApplication(String application)
throws UnknownApplicationException
application - the name of the application to describe
MetaData instance capturing the name,
and potentially description and semantic annotation of the
application
UnknownApplicationException
List<MetaData> getInputs(String application)
throws UnknownApplicationException
application - the name of the application to find inputs for
List of MetaData objects describing
the inputs of the application
UnknownApplicationException
List<MetaData> getOutputs(String application)
throws UnknownApplicationException
application - the name of the application to find outputs for
List of MetaData objects describing
the outputs of the application
UnknownApplicationException
BlockedInvocationResponse invokeAndBlock(JobSpecification jobSpec)
throws OperationUnavailableException,
InvalidJobSpecificationException,
JobExecutionException
jobSpec - specify the jobManager to run
InvalidJobSpecificationException - if the service is
unable to process jobSpecification
JobExecutionException - if there was a failure from
execution of the jobManager
OperationUnavailableException - if this operation is not supported by this dispatcher
NonBlockingInvocationResponse invokeNonBlocking(JobSpecification jobSpec)
throws InvalidJobSpecificationException,
JobExecutionException
jobSpec - specify the jobManager to run
InvalidJobSpecificationException - if the service is
unable to process jobSpecification
JobExecutionException - if there was a failure from execution of the jobManager
NonBlockingInvocationResponse pollForResult(UUID uuid)
throws UnknownUuidException,
JobExecutionException
uuid - the SerializableUuid of the jobManager to poll
UnknownUuidException - if the SerializableUuid is not known
JobExecutionException - if there was a failure from
execution of the jobSpecification
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||