resourceHandler.setResourceBase(resourceBase);
resourceContextHandler.setHandler(resourceHandler);
}
ServletContextHandler servletContext = new ServletContextHandler(contexts, ROOT, ServletContextHandler.NO_SECURITY);
servletContext.addEventListener(new MuleServletContextListener(muleContext, getName()));
servletContext.setVirtualHosts(new String[] {getVirtualHostName(connector)});
ServletHolder holder = new ServletHolder();
holder.setServlet(servlet);
servletContext.addServlet(holder, "/*");