Package com.axelor.db.tenants
Class TenantConfigProviderImpl
java.lang.Object
com.axelor.db.tenants.TenantConfigProviderImpl
- All Implemented Interfaces:
TenantConfigProvider
The default
TenantConfigProvider implementation.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionFindTenantConfigfor the given tenant identifier.findAll()Find allTenantConfig.Find allTenantConfigfor the given hostname.
-
Constructor Details
-
TenantConfigProviderImpl
public TenantConfigProviderImpl()
-
-
Method Details
-
find
Description copied from interface:TenantConfigProviderFindTenantConfigfor the given tenant identifier.- Specified by:
findin interfaceTenantConfigProvider- Parameters:
tenantId- the tenant identifier- Returns:
- an instance of
TenantConfig
-
findAll
Description copied from interface:TenantConfigProviderFind allTenantConfigfor the given hostname.- Specified by:
findAllin interfaceTenantConfigProvider- Parameters:
host- the hostname- Returns:
- list of all
TenantConfigmatching the given hostname
-
findAll
Description copied from interface:TenantConfigProviderFind allTenantConfig.- Specified by:
findAllin interfaceTenantConfigProvider- Returns:
- list of all
TenantConfig
-