This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision |
| pr_methods:resume [2023/04/04 06:40] – removed - external edit (Unknown date) 127.0.0.1 | pr_methods:resume [2025/06/12 04:00] (current) – Change to AwareIM aware_support3 |
|---|
| | {{tag>Index Programmers_Reference Methods IProcess IProcess_Methods Resume}} |
| | |
| | ==== resume (IExecutionEngine, Object []) ==== |
| | |
| | <code java>public Object resume(IExecutionEngine engine, Object reply) |
| | throws SuspendProcessException, ExecutionException, AccessDeniedException;</code> |
| | |
| | |
| | This method is called by the //**AwareIM**// framework when the process receives the reply from the service provider and gets resumed. |
| | |
| | ===Parameters=== |
| | |
| | |''engine''|the call back interface that allows the process to call services of //**AwareIM**//. See [[docs:3500:0300:0315|IExecutionEngine]] interface.| |
| | |''reply''|reply received from the service provider. This is the instance of the [[docs:3500:0300:0319|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.| |
| | |
| | ===Returns=== |
| | should always return ''null''. |
| | |
| | ===Throws=== |
| | |''SuspendProcessException''|if one of the methods of the [[docs:3500:0300:0315|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| |
| |