Handler next = webAppContext.newTwistyHandler();
next = new ThreadClassloaderHandler(next, classLoader);
next = new InstanceContextHandler(next, unshareableResources, applicationManagedSecurityResources, trackedConnectionAssociator);
next = new UserTransactionHandler(next, userTransaction);
next = new ComponentContextHandler(next, this.componentContext);
webAppContext.setTwistyHandler(next);
lifecycleChain = (AbstractImmutableHandler) next;
}
MimeTypes mimeTypes = new MimeTypes();