@Component public class RestartFlowNodesHandler extends java.lang.Object implements TenantRestartHandler
ExecuteFlowNodeWork ExecuteConnectorOfActivity NotifyChildFinishedWork| Constructor and Description |
|---|
RestartFlowNodesHandler(java.lang.Long tenantId,
TechnicalLoggerService logger,
FlowNodeInstanceService flowNodeInstanceService,
UserTransactionService transactionService,
ExecuteFlowNodes executeFlowNodes) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterServicesStart()
called outside of a transaction after
PlatformAPI.startNode() in a separate thread than the api call |
void |
beforeServicesStart()
called in a transaction during
PlatformAPI.startNode() |
public RestartFlowNodesHandler(@Value(value="${tenantId}")
java.lang.Long tenantId,
@Qualifier(value="tenantTechnicalLoggerService")
TechnicalLoggerService logger,
FlowNodeInstanceService flowNodeInstanceService,
UserTransactionService transactionService,
ExecuteFlowNodes executeFlowNodes)
public void beforeServicesStart()
throws RestartException
TenantRestartHandlerPlatformAPI.startNode()beforeServicesStart in interface TenantRestartHandlerRestartExceptionpublic void afterServicesStart()
throws RestartException
TenantRestartHandlerPlatformAPI.startNode() in a separate thread than the api callafterServicesStart in interface TenantRestartHandlerRestartException