public class ProfilesUpdaterRestartHandler extends java.lang.Object implements TenantRestartHandler
| Constructor and Description |
|---|
ProfilesUpdaterRestartHandler() |
| 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 DefaultProfilesUpdater |
getProfileUpdater(PlatformServiceAccessor platformServiceAccessor,
TenantServiceAccessor tenantServiceAccessor) |
public void beforeServicesStart(PlatformServiceAccessor platformServiceAccessor, TenantServiceAccessor tenantServiceAccessor) throws RestartException
TenantRestartHandlerPlatformAPI.startNode()beforeServicesStart in interface TenantRestartHandlerRestartExceptionpublic void afterServicesStart(PlatformServiceAccessor platformServiceAccessor, TenantServiceAccessor tenantServiceAccessor)
TenantRestartHandlerPlatformAPI.startNode() in a separate thread than the api callafterServicesStart in interface TenantRestartHandlerprotected DefaultProfilesUpdater getProfileUpdater(PlatformServiceAccessor platformServiceAccessor, TenantServiceAccessor tenantServiceAccessor)