code: public void stop(BundleContext context) throws Exception {
          ClassServiceUtility.log(context, LogService.LOG_INFO, "Stopping ObrClassFinderImpl");
  
          super.stop(context);
          repositoryAdmin = null;
          waitingForRepositoryAdmin = false;
          waitingForClassService = false;
          ClassFinderActivator.setClassFinder(null);
      }
docs: Bundle shutting down.