Package com.axelor.db.tenants
Interface TenantConfigProvider
-
- All Known Implementing Classes:
TenantConfigProviderImpl
public interface TenantConfigProviderThe contract to provideTenantConfig.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TenantConfigfind(String tenantId)FindTenantConfigfor the given tenant identifier.List<TenantConfig>findAll(String host)Find allTenantConfigfor the given hostname.
-
-
-
Method Detail
-
find
TenantConfig find(String tenantId)
FindTenantConfigfor the given tenant identifier.- Parameters:
tenantId- the tenant identifier- Returns:
- an instance of
TenantConfig
-
findAll
List<TenantConfig> findAll(String host)
Find allTenantConfigfor the given hostname.- Parameters:
host- the hostname- Returns:
- list of all
TenantConfigmatching the given hostname
-
-