Package com.axelor.db.tenants
Interface TenantConfigProvider
- All Known Implementing Classes:
TenantConfigProviderImpl
public interface TenantConfigProvider
The contract to provide
TenantConfig.-
Method Summary
Modifier and TypeMethodDescriptionFindTenantConfigfor the given tenant identifier.findAll()Find allTenantConfig.Find allTenantConfigfor the given hostname.
-
Method Details
-
find
FindTenantConfigfor the given tenant identifier.- Parameters:
tenantId- the tenant identifier- Returns:
- an instance of
TenantConfig
-
findAll
Find allTenantConfigfor the given hostname.- Parameters:
host- the hostname- Returns:
- list of all
TenantConfigmatching the given hostname
-
findAll
List<TenantConfig> findAll()Find allTenantConfig.- Returns:
- list of all
TenantConfig
-