@Component public class MessagesRestartHandler extends java.lang.Object implements TenantRestartHandler
ExecuteMessageCoupleWork| Constructor and Description |
|---|
MessagesRestartHandler(TechnicalLoggerService technicalLoggerService,
EventInstanceRepository eventInstanceRepository,
UserTransactionService userTransactionService,
MessagesHandlingService messagesHandlingService) |
| 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 MessagesRestartHandler(@Qualifier(value="tenantTechnicalLoggerService")
TechnicalLoggerService technicalLoggerService,
EventInstanceRepository eventInstanceRepository,
UserTransactionService userTransactionService,
MessagesHandlingService messagesHandlingService)
public void beforeServicesStart()
throws RestartException
TenantRestartHandlerPlatformAPI.startNode()beforeServicesStart in interface TenantRestartHandlerRestartExceptionpublic void afterServicesStart()
TenantRestartHandlerPlatformAPI.startNode() in a separate thread than the api callafterServicesStart in interface TenantRestartHandler