public static JDisc fromServicesXml(String xml, Networking networking) {
        Path applicationDir = StandaloneContainerRunner.createApplicationPackage(xml);
        return new JDisc(applicationDir, true, networking, new ConfigModelRepo());
    }
Factory method to create a JDisc from an XML String. Note that any components that are referenced in
the XML must be present on the classpath. To deploy OSGi bundles in memory,
use {@link #fromPath(java.nio.file.Path, com.yahoo.application.Networking)}.

@param xml the XML configuration to use
@return a new JDisc instance
application/src/main/java/com/yahoo/application/container/JDisc.java