next = new ComponentContextHandler(next, enc);
next = new InstanceContextHandler(next, unshareableResources, applicationManagedSecurityResources, trackedConnectionAssociator);
lifecycleChain = (AbstractImmutableHandler) next;
webAppContext.setHandler(next);
MimeTypes mimeTypes = new MimeTypes();
mimeTypes.setMimeMap(mimeMap);
webAppContext.setMimeTypes(mimeTypes);
this.server = server;
this.application = application;
this.objectName = objectName;