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