File file = new File(configDir, "domain.cached-remote.xml");
return new XmlConfigurationPersister(file, new QName(Namespace.CURRENT.getUriString(), "domain"), domainXml, domainXml);
}
public static ExtensibleConfigurationPersister createTransientDomainXmlConfigurationPersister(ExecutorService executorService) {
DomainXml domainXml = new DomainXml(Module.getBootModuleLoader(), executorService);
return new NullConfigurationPersister(domainXml);
}