Source:
public void create() { try { serviceLoader.load(PmHealthCheckManager.class); serviceLoader.load(EngineBackupAwarenessManager.class); serviceLoader.load(DataCenterCompatibilityChecker.class); serviceLoader.load(ResourceManager.class); serviceLoader.load(HostDeviceManager.class); serviceLoader.load(IrsProxyManager.class); serviceLoader.load(OvfDataUpdater.class); StoragePoolStatusHandler.init(); serviceLoader.load(GlusterJobsManager.class); resourceManager.get().scheduleJobsForHosts(); try { log.info("Init VM custom properties utilities"); VmPropertiesUtils.getInstance().init(); } catch (InitializationException e) { log.error("Initialization of vm custom properties failed.", e); } try { log.info("Init device custom properties utilities"); DevicePropertiesUtils.getInstance().init(); } catch (InitializationException e) { log.error("Initialization of device custom properties failed.", e); } serviceLoader.load(SchedulingManager.class); sessionDataContainer.cleanupEngineSessionsOnStartup(); serviceLoader.load(DwhHeartBeat.class); serviceLoader.load(CommandsRepository.class); serviceLoader.load(AsyncTaskManager.class); serviceLoader.load(CommandCoordinatorUtil.class); serviceLoader.load(CommandCallbacksPoller.class); serviceLoader.load(CommandEntityCleanupManager.class); commandsRepository.get().handleUnmanagedCommands(); if(Config.<Boolean> getValue(ConfigValues.AffinityRulesEnforcementManagerEnabled)) { serviceLoader.load(AffinityRulesEnforcementManager.class); } serviceLoader.load(CertificationValidityChecker.class); serviceLoader.load(HostUpdatesCheckerService.class); serviceLoader.load(IPTablesDeprecationNotifier.class); serviceLoader.load(ExternalNetworkSyncService.class); } catch (Exception ex) { log.error("Failed to initialize backend", ex); throw ex; } }

Target:
public void create() { try { serviceLoader.load(PmHealthCheckManager.class); serviceLoader.load(EngineBackupAwarenessManager.class); serviceLoader.load(DataCenterCompatibilityChecker.class); serviceLoader.load(ResourceManager.class); serviceLoader.load(HostDeviceManager.class); serviceLoader.load(IrsProxyManager.class); serviceLoader.load(OvfDataUpdater.class); StoragePoolStatusHandler.init(); serviceLoader.load(GlusterJobsManager.class); resourceManager.get().scheduleJobsForHosts(); try { log.info("Init VM custom properties utilities"); VmPropertiesUtils.getInstance().init(); } catch (InitializationException e) { log.error("Initialization of vm custom properties failed.", e); } try { log.info("Init device custom properties utilities"); DevicePropertiesUtils.getInstance().init(); } catch (InitializationException e) { log.error("Initialization of device custom properties failed.", e); } serviceLoader.load(SchedulingManager.class); sessionDataContainer.cleanupEngineSessionsOnStartup(); serviceLoader.load(DwhHeartBeat.class); commandsRepository.get().handleUnmanagedCommands(); serviceLoader.load(AsyncTaskManager.class); serviceLoader.load(CommandCoordinatorUtil.class); serviceLoader.load(CommandCallbacksPoller.class); serviceLoader.load(CommandEntityCleanupManager.class); if(Config.<Boolean> getValue(ConfigValues.AffinityRulesEnforcementManagerEnabled)) { serviceLoader.load(AffinityRulesEnforcementManager.class); } serviceLoader.load(CertificationValidityChecker.class); serviceLoader.load(HostUpdatesCheckerService.class); serviceLoader.load(IPTablesDeprecationNotifier.class); serviceLoader.load(ExternalNetworkSyncService.class); } catch (Exception ex) { log.error("Failed to initialize backend", ex); throw ex; } }