476477478479480481482483484485486
synchronized (this) { refs = pendingServlets; pendingServlets = new ArrayList<ServiceReference>(); servletResourceProviderFactory = new ServletResourceProviderFactory( servletRoot); // register servlets immediately from now on this.context = context;