public Object resume(IExecutionEngine engine, Object reply) throws SuspendProcessException, ExecutionException, AccessDeniedException;
This method is called by the AwareIM framework when the process receives the reply from the service provider and gets resumed.
engine | the call back interface that allows the process to call services of AwareIM. See IExecutionEngine interface. |
reply | reply received from the service provider. This is the instance of the INotification object. The attributes of this notification can be used to check the specific values of the reply. For example, if a remote service of a service provider were called, the reply notification would have the attributes as defined by the service declaration exposed by the provider. If a process was resumed immediately after its suspension in order to commit the current transaction, the reply is null. |
should always return null
.
SuspendProcessException | if one of the methods of the IExecutionEngine threw SuspendProcessException or if a process wants to commit the current transaction. |
ExecutionException | if something is wrong. |
AccessDeniedException | shouldn’t be thrown by the process component directly |