code: @Invalidate
      public void stop() {
          unregisterConfigurationsExposedAsServices();
          if (registration != null) {
              registration.unregister();
              registration = null;
              try {
                  watcher.removeAndStopIfNeeded(configFile.getParentFile());
              } catch (RuntimeException e) { //NOSONAR
                  // An exception can be thrown when the platform is shutting down.
                  // ignore it.
              }
          }
      }
docs: Stops the service.