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 TypeMethodDescriptionFindTenantConfig
for the given tenant identifier.findAll()
Find allTenantConfig
.Find allTenantConfig
for the given hostname.
-
Constructor Details
-
TenantConfigProviderImpl
public TenantConfigProviderImpl()
-
-
Method Details
-
find
Description copied from interface:TenantConfigProvider
FindTenantConfig
for the given tenant identifier.- Specified by:
find
in interfaceTenantConfigProvider
- Parameters:
tenantId
- the tenant identifier- Returns:
- an instance of
TenantConfig
-
findAll
Description copied from interface:TenantConfigProvider
Find allTenantConfig
for the given hostname.- Specified by:
findAll
in interfaceTenantConfigProvider
- Parameters:
host
- the hostname- Returns:
- list of all
TenantConfig
matching the given hostname
-
findAll
Description copied from interface:TenantConfigProvider
Find allTenantConfig
.- Specified by:
findAll
in interfaceTenantConfigProvider
- Returns:
- list of all
TenantConfig
-