synchronized (JettyManagerFactory.class) {
Log.setLog(new EmptyLogger());
final YamlParser yamlParser = new YamlParser(yamlConfigFilename);
final List<StubHttpLifecycle> httpLifecycles = yamlParser.parseAndLoad();
final DataStore dataStore = new DataStore(httpLifecycles);
final JettyFactory jettyFactory = new JettyFactory(commandLineArgs, dataStore, yamlParser);
final Server server = jettyFactory.construct(dataStore, yamlParser);
return new JettyManager(server);