Thread.currentThread().setContextClassLoader(registeredContextClassLoader); servlet.init(servletConfig);
ClassLoader original = Thread.currentThread().getContextClassLoader(); try { Thread.currentThread().setContextClassLoader(registeredContextClassLoader); servlet.init(servletConfig); } finally { Thread.currentThread().setContextClassLoader(original); } servlets.add(servlet); initialized = true;
	public void init(ServletConfig servletConfig) throws ServletException {		ClassLoader original = Thread.currentThread().getContextClassLoader();		try {			Thread.currentThread().setContextClassLoader(registeredContextClassLoader);			servlet.init(servletConfig);		} finally {			Thread.currentThread().setContextClassLoader(original);		}		servlets.add(servlet);	}