public static Application fromServicesXml(String xml, Networking networking) {
        Path applicationDir = StandaloneContainerRunner.createApplicationPackage(xml);
        return new Application(applicationDir, networking, true);
    }
Factory method to create an Application 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 Application#fromApplicationPackage(Path, Networking)}.

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