ServletRegistration registration = new ServletRegistration(servlet, context, bundle, servlets);
ServletRegistration registration = new ServletRegistration(servlet, proxyContext, context, bundle, servlets);
	synchronized void registerServlet(String alias, Servlet servlet, Dictionary initparams, HttpContext context, Bundle bundle) throws ServletException, NamespaceException {		checkAlias(alias);		if (servlet == null)			throw new IllegalArgumentException("Servlet cannot be null"); //$NON-NLS-1$		ServletRegistration registration = new ServletRegistration(servlet, context, bundle, servlets);		registration.checkServletRegistration();		ServletContext wrappedServletContext = new ServletContextAdaptor(proxyContext, getServletContext(), context, AccessController.getContext());		ServletConfig servletConfig = new ServletConfigImpl(servlet, initparams, wrappedServletContext);		registration.init(servletConfig);		registrations.put(alias, registration);	}