code: public void stop(BundleContext bc) throws Exception {
  		if (webContainerRef != null) {
  			WebContainer webContainer = (WebContainer) bc
  					.getService(webContainerRef);
  
  			webContainer.unregisterServlet(helloWorldServlet);
  			webContainer.unregisterFilter(helloWorldFilter);
  
  			webContainer.unregisterFilter("HelloWorld");
  			webContainer.unregisterServlet(worldServlet);
  
  			webContainer.unregisterEventListener(helloWorldListener);
  			webContainer.unregisterEventListener(sessionListener);
  
  			webContainer.unregister("/images");
  			webContainer.unregister("/html");
  			webContainer.unregisterServlet(errorServlet);
  			webContainer.unregisterServlet(errorMakerServlet);
  
  			webContainer.unregisterErrorPage("java.lang.Exception", httpContext);
  			webContainer.unregisterErrorPage("404", httpContext);
  
  			webContainer.unregisterWelcomeFiles(new String[]{"index.html"}, httpContext);
  
  			webContainer = null;
  
  			bc.ungetService(webContainerRef);
  			webContainerRef = null;
  		}
  	}
docs: Called when the OSGi framework stops our bundle