Class TenancyConfiguration
java.lang.Object
org.hibernate.search.mapper.orm.tenancy.spi.TenancyConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionstatic TenancyConfiguration
create
(TenancyMode tenancyMode, ConfigurationPropertySource configurationPropertySource) invalidTenantId
(String tenantId)
-
Method Details
-
create
public static TenancyConfiguration create(TenancyMode tenancyMode, ConfigurationPropertySource configurationPropertySource) -
tenantIdsOrFail
- Returns:
- A set of all possible tenant IDs, or an empty set if the application is single-tenant.
- Throws:
SearchException
- if the application is multi-tenant and the full list of tenant IDs was not configured.
-
invalidTenantId
-