= WebAppCollectionFactory.createWebAppCollectionWithOneContext(contextDir,
context, configBuilder.getConfiguration());
// start all of the webapps
webapps.startAll();
// create servlet engine configuration object
ServletEngineConfiguration config
= ServletEngineConfigurationImpl.create(PORT, MAX_THREADS);
// the collection of webapps is our "request sink" (just done to illustrate)
FilterChain requestSink = webapps;
// create an engine using the engine configuration and send all requests
// to our request sink