code: public String getSmartDeployMode() {
          if (smartDeployMode != null || smartDeployLocationDone) {
              return smartDeployMode;
          }
          synchronized (this) {
              if (smartDeployMode != null || smartDeployLocationDone) {
                  return smartDeployMode;
              }
              final String locKey = SMART_DEPLOY_MODE_LOCATION_KEY;
              final String location = getProperty(locKey);
              if (location != null && !location.isEmpty()) {
                  smartDeployMode = deriveSmartDeployModeFromLocation(location);
              } else {
                  logger.info("*Not found the smart-deploy mode location: {} in {}", locKey, LASTA_DI_PROPERTIES);
              }
              smartDeployLocationDone = true;
              return smartDeployMode;
          }
      }
docs: ------------