public class RestartProcessHandler extends java.lang.Object implements TenantRestartHandler
ExecuteConnectorOfProcess| Modifier and Type | Class and Description |
|---|---|
class |
RestartProcessHandler.ExecuteProcesses |
| Constructor and Description |
|---|
RestartProcessHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterServicesStart(PlatformServiceAccessor platformServiceAccessor,
TenantServiceAccessor tenantServiceAccessor)
called outside of a transaction after
PlatformAPI.startNode() in a separate thread than the api call |
void |
beforeServicesStart(PlatformServiceAccessor platformServiceAccessor,
TenantServiceAccessor tenantServiceAccessor)
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 void beforeServicesStart(PlatformServiceAccessor platformServiceAccessor, TenantServiceAccessor tenantServiceAccessor) throws RestartException
TenantRestartHandlerPlatformAPI.startNode()beforeServicesStart in interface TenantRestartHandlerRestartExceptionprotected void logInfo(TechnicalLoggerService logger, java.lang.String msg)
public void afterServicesStart(PlatformServiceAccessor platformServiceAccessor, TenantServiceAccessor tenantServiceAccessor) 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