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
TenantRestartHandler
PlatformAPI.startNode()
beforeServicesStart
in interface TenantRestartHandler
RestartException
public void afterServicesStart(PlatformServiceAccessor platformServiceAccessor, TenantServiceAccessor tenantServiceAccessor)
TenantRestartHandler
PlatformAPI.startNode()
in a separate thread than the api callafterServicesStart
in interface TenantRestartHandler
protected DefaultProfilesUpdater getProfileUpdater(PlatformServiceAccessor platformServiceAccessor, TenantServiceAccessor tenantServiceAccessor)