code: public Tenant getTenant(String tenantName) {
          if (tenantName.equals(m_defaultTenantName)) {
              return getDefaultTenant();
          }
          checkServiceState();
          TenantDefinition tenantDef = getTenantDefinition(tenantName);
          if (tenantDef == null) {
              return null;
          }
          return new Tenant(tenantDef);
      }
docs: Get the {@link Tenant} object for the tenant with the given name. This is a
  convenience method that calls {@link #getTenantDefinition(String)} and either
  returns null or calls <code>new Teanant(tenantDef)</code> using the tenant
  definition found.
  
  @param tenantName    Name of a tenant.
  @return              {@link Tenant} object for tenant, which also contains the
  tenant's {@link TenantDefinition}.