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);
final ConfigurationScanner configurationScanner = new ConfigurationScanner(yamlParser, dataStore);
new Thread(configurationScanner, ConfigurationScanner.class.getCanonicalName()).start();
return new JettyManager(server);
}
}