private ServiceRegistration serviceReg;
public HttpServiceController(BundleContext bundleContext)
{
this.bundleContext = bundleContext;
this.registry = new HandlerRegistry();
this.dispatcher = new Dispatcher(this.registry);
this.serviceProps = new Hashtable<String, Object>();
this.contextAttributeListener = new ServletContextAttributeListenerManager(bundleContext);
this.requestListener = new ServletRequestListenerManager(bundleContext);
this.requestAttributeListener = new ServletRequestAttributeListenerManager(bundleContext);