Source:
<code>private void initialize() { log.info("Start initializing {}", getClass().getSimpleName()); ThreadPoolUtil.setExecutorService(managedExecutorService); 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(); <START> scheduledExecutorService.scheduleAtFixedRate(() <END> -> sessionDataContainer.cleanExpiredUsersSessions(), 1, 1, TimeUnit.MINUTES); _startedAt = DateTime.getNow(); serviceLoader.load(VmsMonitoring.class); serviceLoader.load(VmDevicesMonitoring.class); 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"); }</code><technical_language>move logic session data container</technical_language>

Target:
private void initialize() { log.info("Start initializing {}", getClass().getSimpleName()); ThreadPoolUtil.setExecutorService(managedExecutorService); 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(); scheduledExecutorService.scheduleAtFixedRate(() -> sessionDataContainer.cleanExpiredUsersSessions(), 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"); }