Source:
private void initialize() { log.info("Start initializing {}", getClass().getSimpleName()); serviceLoader.load(PreviousHostedEngineHost.class); for (SchedulerUtil taskScheduler : taskSchedulers) { log.info("Started task scheduler {}", taskScheduler); } serviceLoader.load(CacheManager.class); Config.setConfigUtils(new DBConfigUtils()); ThreadPoolUtil.setThreadFactory(managedThreadFactory); initOsRepository(); if (firstInitialization) { compensate(); firstInitialization = false; } log.info("Running ovirt-engine {}", Config.<String>getValue(ConfigValues.ProductRPMVersion)); serviceLoader.load(CpuFlagsManagerHandler.class); serviceLoader.load(AuditLogCleanupManager.class); serviceLoader.load(CommandEntityCleanupManager.class); serviceLoader.load(TagsDirector.class); serviceLoader.load(IsoDomainListSynchronizer.class); initSearchDependencies(); initHandlers(); initVmPropertiesUtils(); final String AppErrorsFileName = "bundles/AppErrors.properties"; final String VdsErrorsFileName = "bundles/VdsmErrors.properties"; errorsTranslator = new ErrorTranslatorImpl(AppErrorsFileName, VdsErrorsFileName); vdsErrorsTranslator = new ErrorTranslatorImpl(VdsErrorsFileName); log.info("Mark incomplete jobs as {}", JobExecutionStatus.UNKNOWN.name()); initJobRepository(); serviceLoader.load(JobRepositoryCleanupManager.class); serviceLoader.load(AutoRecoveryManager.class); initExecutionMessageDirector(); taskSchedulers.select(SchedulerUtilQuartzImpl.class).get() .scheduleAFixedDelayJob(sessionDataContainer, "cleanExpiredUsersSessions", new Class[] {}, new Object[] {}, 1, 1, TimeUnit.MINUTES); _startedAt = DateTime.getNow(); serviceLoader.load(VmPoolHandler.class); serviceLoader.load(VmPoolMonitor.class); serviceLoader.load(HaAutoStartVmsRunner.class); serviceLoader.load(QuotaManager.class); serviceLoader.load(VmMigrationProgressMonitoring.class); initAttestation(); updatePredefinedIcons(); iconCleanup(); EngineExtensionsManager.getInstance().engineInitialize(); AuthenticationProfileRepository.getInstance(); AcctUtils.reportReason(Acct.ReportReason.STARTUP, "Starting up engine"); }

Target:
private void initialize() { log.info("Start initializing {}", getClass().getSimpleName()); ThreadPoolUtil.setThreadFactory(managedThreadFactory); serviceLoader.load(PreviousHostedEngineHost.class); for (SchedulerUtil taskScheduler : taskSchedulers) { log.info("Started task scheduler {}", taskScheduler); } serviceLoader.load(CacheManager.class); Config.setConfigUtils(new DBConfigUtils()); initOsRepository(); if (firstInitialization) { compensate(); firstInitialization = false; } log.info("Running ovirt-engine {}", Config.<String>getValue(ConfigValues.ProductRPMVersion)); serviceLoader.load(CpuFlagsManagerHandler.class); serviceLoader.load(AuditLogCleanupManager.class); serviceLoader.load(CommandEntityCleanupManager.class); serviceLoader.load(TagsDirector.class); serviceLoader.load(IsoDomainListSynchronizer.class); initSearchDependencies(); initHandlers(); initVmPropertiesUtils(); final String AppErrorsFileName = "bundles/AppErrors.properties"; final String VdsErrorsFileName = "bundles/VdsmErrors.properties"; errorsTranslator = new ErrorTranslatorImpl(AppErrorsFileName, VdsErrorsFileName); vdsErrorsTranslator = new ErrorTranslatorImpl(VdsErrorsFileName); log.info("Mark incomplete jobs as {}", JobExecutionStatus.UNKNOWN.name()); initJobRepository(); serviceLoader.load(JobRepositoryCleanupManager.class); serviceLoader.load(AutoRecoveryManager.class); initExecutionMessageDirector(); taskSchedulers.select(SchedulerUtilQuartzImpl.class).get() .scheduleAFixedDelayJob(sessionDataContainer, "cleanExpiredUsersSessions", new Class[] {}, new Object[] {}, 1, 1, TimeUnit.MINUTES); _startedAt = DateTime.getNow(); serviceLoader.load(VmPoolHandler.class); serviceLoader.load(VmPoolMonitor.class); serviceLoader.load(HaAutoStartVmsRunner.class); serviceLoader.load(QuotaManager.class); serviceLoader.load(VmMigrationProgressMonitoring.class); initAttestation(); updatePredefinedIcons(); iconCleanup(); EngineExtensionsManager.getInstance().engineInitialize(); AuthenticationProfileRepository.getInstance(); AcctUtils.reportReason(Acct.ReportReason.STARTUP, "Starting up engine"); }