@Component(value="cuba_Executions") public class ExecutionsImpl extends java.lang.Object implements Executions
NAME| Constructor and Description |
|---|
ExecutionsImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
cancelExecution(java.util.UUID userSessionId,
java.lang.String group,
java.lang.String key)
Cancel execution context:
- cancel all resources with context.
|
void |
endExecution()
INTERNAL
End execution context for the current thread.
|
ExecutionContext |
getCurrentContext()
INTERNAL
|
void |
init() |
ExecutionContext |
startExecution(java.lang.String key,
java.lang.String group)
INTERNAL
Start execution context for the current thread.
|
@PostConstruct public void init()
public ExecutionContext startExecution(java.lang.String key, java.lang.String group)
ExecutionsstartExecution in interface Executionskey - - unique identifier of executiongroup - - group is used for grouping execution by type.
E.g. group 'Reporting' is used for all reporting
module executionspublic void endExecution()
ExecutionsendExecution in interface Executionspublic void cancelExecution(java.util.UUID userSessionId,
java.lang.String group,
java.lang.String key)
ExecutionscancelExecution in interface ExecutionsuserSessionId - - user session in that started execution contextgroup - - group of started execution contextkey - - key of started execution contextpublic ExecutionContext getCurrentContext()
ExecutionsgetCurrentContext in interface Executions