| Constructor and Description |
|---|
DynamicInvoker(String className,
URL jarUrl,
String operationName,
Object[] inputs)
Constructs a DynamicInvoker.
|
| Modifier and Type | Method and Description |
|---|---|
xsul.xwsif_runtime.WSIFClient |
getClient() |
xsul.wsif.WSIFMessage |
getFault()
Returns the fault message.
|
xsul.wsif.WSIFMessage |
getInputs()
Returns the all input parameters
|
Object |
getOutput(String name)
Returns the output of a specified name.
|
xsul.wsif.WSIFMessage |
getOutputs()
Returns the all output parameters
|
boolean |
invoke()
Invokes the service.
|
void |
setInput(String name,
Object value)
Sets an input parameter
|
void |
setOperation(String operationName)
Sets the operation name to invoke.
|
void |
setup()
Sets up the service.
|
void |
waitToFinish() |
public Object getOutput(String name) throws WorkflowException
InvokergetOutput in interface Invokername - The name of the output parameterWorkflowExceptionorg.apache.airavata.xbaya.invoker.WorkflowInvoker#getOutput(java.lang.String)public boolean invoke()
throws WorkflowException
Invokerinvoke in interface InvokerWorkflowExceptionorg.apache.airavata.xbaya.invoker.WorkflowInvoker#invoke()public void setInput(String name, Object value) throws WorkflowException
InvokersetInput in interface Invokername - The name of the input parametervalue - The value of the input parameterWorkflowExceptionorg.apache.airavata.xbaya.invoker.WorkflowInvoker#setInput(java.lang.String, java.lang.Object)public void setOperation(String operationName) throws WorkflowException
InvokersetOperation in interface InvokeroperationName - The name of the operationWorkflowExceptionorg.apache.airavata.xbaya.invoker.WorkflowInvoker#setOperation(java.lang.String)public void setup()
throws WorkflowException
Invokersetup in interface InvokerWorkflowExceptionorg.apache.airavata.xbaya.invoker.WorkflowInvoker#setup()public void waitToFinish()
throws WorkflowException
WorkflowExceptionorg.apache.airavata.xbaya.invoker.WorkflowInvoker#waitToFinish()public xsul.wsif.WSIFMessage getOutputs()
throws WorkflowException
InvokergetOutputs in interface InvokerWorkflowExceptionorg.apache.airavata.xbaya.invoker.WorkflowInvoker#getOutputs()public xsul.xwsif_runtime.WSIFClient getClient()
public xsul.wsif.WSIFMessage getInputs()
throws WorkflowException
InvokergetInputs in interface InvokerWorkflowExceptionpublic xsul.wsif.WSIFMessage getFault()
throws WorkflowException
InvokergetFault in interface InvokerWorkflowExceptionCopyright © 2011–2014 The Apache Software Foundation. All rights reserved.