}
WebEventHandler webEventHandler = new WebEventHandler();
register(WebListener.class, webEventHandler);
WebContainerServiceImpl webContainerService = new WebContainerServiceImpl();
webContainerService.setBundleContext(bundleContext);
webContainerService.setWarManager(warManager);
webContainerService.setWebEventHandler(webEventHandler);
register(WebContainerService.class, webContainerService);
WebMBeanImpl webMBean = new WebMBeanImpl();
webMBean.setWebContainerService(webContainerService);
registerMBean(webMBean, "type=web");