public class ProfilesUpdaterRestartHandler extends 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 ProfilesImporter |
createProfilesImporter(TenantServiceAccessor tenantServiceAccessor,
List<ExportedProfile> profilesFromXML) |
protected String |
getProfilesFileName() |
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 String getProfilesFileName()
protected ProfilesImporter createProfilesImporter(TenantServiceAccessor tenantServiceAccessor, List<ExportedProfile> profilesFromXML)
Copyright © 2015 Bonitasoft S.A.. All rights reserved.