Interface TenantResolver
-
public interface TenantResolver
Resolves tenant identifier dynamically so that the proper configuration can be used.- Author:
- Michael Schnell
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getDefaultTenantId()
Returns the identifier of the default tenant.String
resolveTenantId()
Returns the current tenant identifier.
-
-
-
Method Detail
-
getDefaultTenantId
String getDefaultTenantId()
Returns the identifier of the default tenant.- Returns:
- Default tenant.A non-null value is required.
-
resolveTenantId
String resolveTenantId()
Returns the current tenant identifier.- Returns:
- the tenant identifier. This value will be used to select the proper configuration at runtime. A non-null value is required.
-
-