@Component public class RestartProcessHandler extends java.lang.Object implements TenantRestartHandler
ExecuteConnectorOfProcess| Modifier and Type | Class and Description |
|---|---|
class |
RestartProcessHandler.ExecuteProcesses |
| Constructor and Description |
|---|
RestartProcessHandler(java.lang.Long tenantId,
WorkService workService,
ActivityInstanceService activityInstanceService,
ProcessDefinitionService processDefinitionService,
ProcessExecutor processExecutor,
BPMWorkFactory workFactory,
FlowNodeStateManager flowNodeStateManager,
UserTransactionService transactionService,
TechnicalLoggerService logger,
ProcessInstanceService processInstanceService) |
| 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() |
protected void |
handleCompletion(SProcessInstance processInstance,
TechnicalLoggerService logger,
ActivityInstanceService activityInstanceService,
WorkService workService,
FlowNodeStateManager flowNodeStateManager,
BPMWorkFactory workFactory) |
protected void |
logInfo(TechnicalLoggerService logger,
java.lang.String msg) |
public RestartProcessHandler(@Value(value="${tenantId}")
java.lang.Long tenantId,
WorkService workService,
ActivityInstanceService activityInstanceService,
ProcessDefinitionService processDefinitionService,
ProcessExecutor processExecutor,
BPMWorkFactory workFactory,
FlowNodeStateManager flowNodeStateManager,
UserTransactionService transactionService,
@Qualifier(value="tenantTechnicalLoggerService")
TechnicalLoggerService logger,
ProcessInstanceService processInstanceService)
public void beforeServicesStart()
throws RestartException
TenantRestartHandlerPlatformAPI.startNode()beforeServicesStart in interface TenantRestartHandlerRestartExceptionprotected void logInfo(TechnicalLoggerService logger, java.lang.String msg)
public void afterServicesStart()
throws RestartException
TenantRestartHandlerPlatformAPI.startNode() in a separate thread than the api callafterServicesStart in interface TenantRestartHandlerRestartExceptionprotected void handleCompletion(SProcessInstance processInstance, TechnicalLoggerService logger, ActivityInstanceService activityInstanceService, WorkService workService, FlowNodeStateManager flowNodeStateManager, BPMWorkFactory workFactory) throws SBonitaException
SBonitaException