docs: private void initIfNecessary() {
          if (logger.isLoggable(Level.FINER)) {
              logger.config("In initIfNecessary().");
          }
          // Use double-checked locking with volatile.
          if (!isInited) {
              synchronized (isInitedLock) {
                  if (!isInited) {
                      logger.config("--- Initializing ServicesManagerImpl ---");
                      batchRuntimeConfig = new BatchConfigImpl();
  
                      initFromPropertiesFiles();
                      initServiceImplOverrides();
                      initDatabaseConfig();
                      initOtherConfig();
                      isInited = Boolean.TRUE;
  
                      logger.config("--- Completed initialization of ServicesManagerImpl ---");
                  }
              }
          }
  
          logger.config("Exiting initIfNecessary()");
      }