properties.setProperty(HttpServer.HTTP_PORT, "8080");
HttpServer server = JettyHttpServer.generate(properties);
server.start();
HttpServiceImpl httpService = new HttpServiceImpl(bundleContext, server.getServletDispatcher());
httpService.start();
bundleContext.registerService(HttpService.class.getName(), httpService, null);