code: public void configure(Config config) {
      LOGGER.debug("Reloading configuration.");
      this.configWriteLock.lock();
      try {
        this.config = config;
        processAppPackages(config);
      } finally {
        this.configWriteLock.unlock();
      }
    }
docs: Replace the configuration of this instance directly.
  
  @param config the new configuration.