@PermitAll public class WsResponseTask extends Object implements ExecutableTask
RecordHolder
object, the output (response) of the
webservice. This output is transformed to webservice xml response, which will
be send back to the clientRecordHolder
object, the error output (response) of the
webservice. This error output is transformed to webservice xml response (as
soap fault), which will be send back to the clientExecutableTask.Result
Constructor and Description |
---|
WsResponseTask()
Creates new instance.
|
Modifier and Type | Method and Description |
---|---|
ExecutableTask.Result |
processInput(TaskContext context,
Object input)
The method for processing the model instance input.
|
ExecutableTask.Result |
start(TaskContext context)
An initial method that is called when the task execution starts.
|
void |
terminate(TaskContext context,
TerminationReason reason)
Called when this task is to be terminated.
|
public ExecutableTask.Result start(TaskContext context) throws ErrorException
ExecutableTask
start
in interface ExecutableTask
null
ErrorException
- the BPMN errorpublic ExecutableTask.Result processInput(TaskContext context, Object input)
ExecutableTask
This method is invoked when a previous call to either
start
method or
processInput
method returned
WAITING_FOR_INPUT
and a new input is to
be process by the model instance.
processInput
in interface ExecutableTask
null
public void terminate(TaskContext context, TerminationReason reason)
ExecutableTask
terminate
in interface ExecutableTask
ErrorException
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.