code: private void validateApplication(ApplicationDefinition appDef) {
          for (String optName : appDef.getOptionNames()) {
              String optValue = appDef.getOption(optName);
              switch (optName) {
              case CommonDefs.OPT_STORAGE_SERVICE:
                  assert optValue.equals(this.getClass().getSimpleName());
                  break;
                  
              default:
                  throw new IllegalArgumentException("Unknown option for LoggingService application: " + optName);
              }
          }
  
          for(TableDefinition tableDef: appDef.getTableDefinitions().values()) {
              validateTable(tableDef);
          }
      }
docs: ----- Private methods