@Component public class ProfilesUpdaterRestartHandler extends java.lang.Object implements TenantRestartHandler
| Constructor and Description |
|---|
ProfilesUpdaterRestartHandler(java.lang.Long tenantId,
TechnicalLoggerService logger,
ProfilesImporter profileImporter,
TransactionService transactionService) |
| 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 DefaultProfilesUpdater |
getDefaultProfilesUpdater() |
public ProfilesUpdaterRestartHandler(@Value(value="${tenantId}")
java.lang.Long tenantId,
@Qualifier(value="tenantTechnicalLoggerService")
TechnicalLoggerService logger,
ProfilesImporter profileImporter,
TransactionService transactionService)
public void beforeServicesStart()
TenantRestartHandlerPlatformAPI.startNode()beforeServicesStart in interface TenantRestartHandlerpublic void afterServicesStart()
TenantRestartHandlerPlatformAPI.startNode() in a separate thread than the api callafterServicesStart in interface TenantRestartHandlerprotected DefaultProfilesUpdater getDefaultProfilesUpdater()