@PermitAll public class WsRequestWaitPointTask extends 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,
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
- NullPointerException
- if any of the arguments is nullpublic ExecutableTask.Result start(TaskContext context) throws ErrorException
start
in interface ExecutableTask
null
ErrorException
public ExecutableTask.Result processInput(TaskContext context, 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 ExecutableTask
null
ErrorException
- the BPMN errorpublic void terminate(TaskContext context, TerminationReason reason)
ExecutableTask
terminate
in interface ExecutableTask
ErrorException
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.