@PermitAll public class WsRequestWaitPointTask extends java.lang.Object implements ExecutableTask
ReferenceHolder object, It is the reference to the
variable where the id of request should be storedReferenceHolder object. It is the reference to the
variable where the input from the webservice call should be storedReferenceHolder object. It is the reference to the
variable where the principal performing the webservice call should be storedExecutableTask.Result| Constructor and Description |
|---|
WsRequestWaitPointTask()
Creates new instance.
|
WsRequestWaitPointTask(WsRequestHandlerDao wsRequestHandlerDao,
BinaryDataServiceLocal binaryDataService)
Creates new instance.
|
| Modifier and Type | Method and Description |
|---|---|
ExecutableTask.Result |
processInput(TaskContext context,
java.lang.Object in)
The method for processing the model instance input.
|
ExecutableTask.Result |
start(TaskContext context)
This method starts the task - it only register the WsRequestWaitPoint (i.e.
|
void |
terminate(TaskContext context,
TerminationReason reason)
Called when this task is to be terminated.
|
public WsRequestWaitPointTask()
public WsRequestWaitPointTask(WsRequestHandlerDao wsRequestHandlerDao, BinaryDataServiceLocal binaryDataService)
wsRequestHandlerDao - binaryDataService - java.lang.NullPointerException - if any of the arguments is nullpublic ExecutableTask.Result start(TaskContext context) throws ErrorException
start in interface ExecutableTasknullErrorExceptionpublic ExecutableTask.Result processInput(TaskContext context, java.lang.Object in) throws ErrorException
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 ExecutableTasknullErrorException - the BPMN errorpublic void terminate(TaskContext context, TerminationReason reason)
ExecutableTaskterminate in interface ExecutableTaskErrorExceptionCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.