/** Add web apps. */ private void addWebApps() throws Exception { Iterator<String> keyIter = webappSpecs.keySet().iterator(); while (keyIter.hasNext()) { String contextPath = keyIter.next(); String warPath = (String) webappSpecs.get(contextPath); addWebApp(contextPath, warPath); } }
private void addResourceHandlers() throws Exception { // TODO the following should be in another wedge // set a static resource base // String meemkitDir = System.getProperty(MEEMKIT_MANAGER_DIR); // addResourceHandler(meemkitContextString, meemkitDir + "/installed"); // add ResourceHandlers for other contexts Iterator<String> keyIter = resourceSpecs.keySet().iterator(); while (keyIter.hasNext()) { String contextPath = keyIter.next(); String filePath = (String) resourceSpecs.get(contextPath); addResourceHandler(contextPath, filePath); } }