Source:
<code>public void initializeDomainConfigurationPersister(boolean slave) { if (domainPersister != null) { throw HostControllerLogger.ROOT_LOGGER.configurationPersisterAlreadyInitialized(); } final File configDir = environment.getDomainConfigurationDir(); ConfigurationFile domainConfigurationFile = null; if (slave) { if (environment.isUseCachedDc() || environment.isBackupDomainFiles()) { <START> domainPersister = ConfigurationPersisterFactory.createRemoteBackupDomainXmlConfigurationPersister(configDir, executorService, extensionRegistry); <END> } else { domainPersister = ConfigurationPersisterFactory.createTransientDomainXmlConfigurationPersister(executorService, extensionRegistry); } } else { domainConfigurationFile = getStandardDomainConfigurationFile(); final HostRunningModeControl runningModeControl = environment.getRunningModeControl(); if (runningModeControl.isReloaded()) { if (environment.isBackupDomainFiles()) { ConfigurationFile cachedRemote = getBackupDomainConfigurationFile(); File cachedRemoteFile = cachedRemote.getBootFile(); if (cachedRemoteFile.exists() && cachedRemoteFile.lastModified() > domainConfigurationFile.getBootFile().lastModified()) { domainConfigurationFile = cachedRemote; } } domainConfigurationFile.resetBootFile( runningModeControl.isUseCurrentDomainConfig(), runningModeControl.getAndClearNewDomainBootFileName()); } domainPersister = ConfigurationPersisterFactory.createDomainXmlConfigurationPersister(domainConfigurationFile, executorService, extensionRegistry); } environment.setDomainConfigurationFile(domainConfigurationFile); this.slave = slave; }</code><technical_language>is this removed? AFAICT effect of this is null passed this below: // Store this environment mgmt api exposes work environment.setDomainConfigurationFile(domainConfigurationFile); impact of null, disable output HostEnvironmentResourceDefinition.HostEnvironmentReadHandler. other read of in HostProcessReloadHandler happen a slave, pass in matter</technical_language>

Target:
public void initializeDomainConfigurationPersister(boolean slave) { if (domainPersister != null) { throw HostControllerLogger.ROOT_LOGGER.configurationPersisterAlreadyInitialized(); } final File configDir = environment.getDomainConfigurationDir(); ConfigurationFile domainConfigurationFile = null; if (slave) { if (environment.isBackupDomainFiles() || environment.isUseCachedDc()) { domainConfigurationFile = getBackupDomainConfigurationFile(); domainPersister = ConfigurationPersisterFactory.createRemoteBackupDomainXmlConfigurationPersister(configDir, executorService, extensionRegistry); } else { domainPersister = ConfigurationPersisterFactory.createTransientDomainXmlConfigurationPersister(executorService, extensionRegistry); } } else { domainConfigurationFile = getStandardDomainConfigurationFile(); final HostRunningModeControl runningModeControl = environment.getRunningModeControl(); if (runningModeControl.isReloaded()) { if (environment.isBackupDomainFiles()) { ConfigurationFile cachedRemote = getBackupDomainConfigurationFile(); File cachedRemoteFile = cachedRemote.getBootFile(); if (cachedRemoteFile.exists() && cachedRemoteFile.lastModified() > domainConfigurationFile.getBootFile().lastModified()) { domainConfigurationFile = cachedRemote; } } domainConfigurationFile.resetBootFile( runningModeControl.isUseCurrentDomainConfig(), runningModeControl.getAndClearNewDomainBootFileName()); } domainPersister = ConfigurationPersisterFactory.createDomainXmlConfigurationPersister(domainConfigurationFile, executorService, extensionRegistry); } environment.setDomainConfigurationFile(domainConfigurationFile); this.slave = slave; }