code: public void stop(BundleContext pBundleContext) {
          assert pBundleContext.equals(bundleContext);
  
          if (httpServiceTracker != null) {
              // Closing the tracker will also call {@link HttpServiceCustomizer#removedService()}
              // for every active service which in turn unregisters the servlet
              httpServiceTracker.close();
              httpServiceTracker = null;
          }
  
          if (jolokiaServiceRegistration != null) {
              jolokiaServiceRegistration.unregister();
              jolokiaServiceRegistration = null;
          }
  
          //Shut this down last to make sure nobody calls for a property after this is shutdown
          if (configAdminTracker != null) {
              configAdminTracker.close();
              configAdminTracker = null;
          }
  
          if (jolokiaHttpContext instanceof ServiceAuthenticationHttpContext) {
              final ServiceAuthenticationHttpContext context =
                      (ServiceAuthenticationHttpContext) jolokiaHttpContext;
              context.close();
          }
  
          restrictor = null;
          bundleContext = null;
      }
docs: {@inheritDoc}