code: private AppModuleName setAppModuleNames(IServletContext isc) {
  
          WebAppConfig webAppConfig = isc.getWebAppConfig();
          if (webAppConfig.isSystemApp()) {
              Tr.debug(tc, "Detected system app so won't track for health check; appName = ", webAppConfig.getApplicationName());
              return null;
          }
  
          if (isOsgiApp(isc)) {
              Tr.debug(tc, "Detected OSGi app, so won't track for health check; appName = ", webAppConfig.getApplicationName());
              return null;
          }
  
          WebModuleMetaData webModuleMetaData = ((WebAppConfigExtended) webAppConfig).getMetaData();
          String appName = webModuleMetaData.getApplicationMetaData().getName();
  
          String moduleName = webModuleMetaData.getJ2EEName().toString();
          return addAppModuleNames(appName, moduleName);
      }
docs: /*
  collect all app and module names and save it for later use