public class RestartProcessHandler extends 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(org.bonitasoft.engine.core.process.instance.model.SProcessInstance processInstance,
org.bonitasoft.engine.log.technical.TechnicalLoggerService logger,
org.bonitasoft.engine.core.process.instance.api.ActivityInstanceService activityInstanceService,
org.bonitasoft.engine.work.WorkService workService,
FlowNodeStateManager flowNodeStateManager) |
protected void |
logInfo(org.bonitasoft.engine.log.technical.TechnicalLoggerService logger,
String msg) |
public void beforeServicesStart(PlatformServiceAccessor platformServiceAccessor, TenantServiceAccessor tenantServiceAccessor) throws RestartException
TenantRestartHandlerPlatformAPI#startNode()beforeServicesStart in interface TenantRestartHandlerRestartExceptionprotected void logInfo(org.bonitasoft.engine.log.technical.TechnicalLoggerService logger,
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(org.bonitasoft.engine.core.process.instance.model.SProcessInstance processInstance,
org.bonitasoft.engine.log.technical.TechnicalLoggerService logger,
org.bonitasoft.engine.core.process.instance.api.ActivityInstanceService activityInstanceService,
org.bonitasoft.engine.work.WorkService workService,
FlowNodeStateManager flowNodeStateManager)
throws org.bonitasoft.engine.commons.exceptions.SBonitaException
org.bonitasoft.engine.commons.exceptions.SBonitaExceptionCopyright © 2015 Bonitasoft S.A.. All rights reserved.