code: private TenantDefinition loadTenantDefinition(DRow tenantDefRow) {
          String tenantName = tenantDefRow.getKey();
          m_logger.debug("Loading definition for tenant: {}", tenantName);
          DColumn tenantDefCol = tenantDefRow.getColumn(TENANT_DEF_COL_NAME);
          if (tenantDefCol == null) {
              return null;    // Not a valid Doradus tenant.
          }
          String tenantDefJSON = tenantDefCol.getValue();
          TenantDefinition tenantDef = new TenantDefinition();
          try {
              tenantDef.parse(UNode.parseJSON(tenantDefJSON));
              Utils.require(tenantDef.getName().equals(tenantName),
                            "Tenant definition (%s) did not match row name (%s)",
                            tenantDef.getName(), tenantName);
          } catch (Exception e) {
              m_logger.warn("Skipping malformed tenant definition; tenant=" + tenantName, e);
              return null;
          }
          return tenantDef;
      }
docs: Load a TenantDefinition from the Applications table.