code: public TenantDefinition getTenantDefinition(String tenantName) {
          // Allow access to default tenant if DBService is not yet initialized.
          if (tenantName.equals(m_defaultTenantName)) {
              return getDefaultTenantDef();
          }
          checkServiceState();
          return getTenantDef(tenantName);
      }
docs: Get the {@link TenantDefinition} of the tenant with the given name. If the given
  tenant name is the default tenant, this method calls {@link #getDefaultTenantDef()}.
  Otherwise, the DBService must be initialized and the tenant definition is read
  from the database.
  
  @param tenantName    Candidate tenant name.
  @return              Definition of tenant if it exists, otherwise null.