docs: public static ExtensibleConfigurationPersister createHostXmlConfigurationPersister(final ConfigurationFile file, final HostControllerEnvironment environment,
                                                                                         final ExecutorService executorService, final ExtensionRegistry hostExtensionRegistry,
                                                                                         final LocalHostControllerInfo localHostControllerInfo) {
          String defaultHostname = localHostControllerInfo.getLocalHostName();
          if (environment.getRunningModeControl().isReloaded()) {
              if (environment.getRunningModeControl().getReloadHostName() != null) {
                  defaultHostname = environment.getRunningModeControl().getReloadHostName();
              }
          }
          HostXml hostXml = new HostXml(defaultHostname, environment.getRunningModeControl().getRunningMode(),
                  environment.isUseCachedDc(), Module.getBootModuleLoader(), executorService, hostExtensionRegistry);
          BackupXmlConfigurationPersister persister = new BackupXmlConfigurationPersister(file, new QName(Namespace.CURRENT.getUriString(), "host"), hostXml, hostXml, false);
          for (Namespace namespace : Namespace.domainValues()) {
              if (!namespace.equals(Namespace.CURRENT)) {
                  persister.registerAdditionalRootElement(new QName(namespace.getUriString(), "host"), hostXml);
              }
          }
          hostExtensionRegistry.setWriterRegistry(persister);
          return persister;
      }