Class MessagesRestartHandler
java.lang.Object
org.bonitasoft.engine.tenant.restart.MessagesRestartHandler
- All Implemented Interfaces:
TenantRestartHandler
Resets all "In Progress" BPMN Message couples so that they can be triggered again on next cron.
Restart work
ExecuteMessageCoupleWork- Author:
- Emmanuel Duchastenier
-
Constructor Summary
ConstructorsConstructorDescriptionMessagesRestartHandler(EventInstanceRepository eventInstanceRepository, UserTransactionService userTransactionService, MessagesHandlingService messagesHandlingService) -
Method Summary
Modifier and TypeMethodDescriptionvoidCalled outside a transaction afterPlatformAPI.startNode()in a separate thread from the api call.voidCalled in a transaction duringPlatformAPI.startNode().
-
Constructor Details
-
MessagesRestartHandler
public MessagesRestartHandler(EventInstanceRepository eventInstanceRepository, UserTransactionService userTransactionService, MessagesHandlingService messagesHandlingService)
-
-
Method Details
-
beforeServicesStart
Description copied from interface:TenantRestartHandlerCalled in a transaction duringPlatformAPI.startNode().- Specified by:
beforeServicesStartin interfaceTenantRestartHandler- Throws:
RestartException
-
afterServicesStart
public void afterServicesStart()Description copied from interface:TenantRestartHandlerCalled outside a transaction afterPlatformAPI.startNode()in a separate thread from the api call.- Specified by:
afterServicesStartin interfaceTenantRestartHandler
-