code: public void stop(BundleContext bc) throws Exception {
  		if (webContainerRef != null) {
  			bc.ungetService(webContainerRef);
  			webContainerRef = null;
  		}
  	}
docs: Called when the OSGi framework stops our bundle