interface TenantResolver
An interface for applications that implement Multi Tenancy to implement in order to resolve the current identifier
Type Params | Return Type | Name and description |
---|---|---|
|
abstract java.io.Serializable |
resolveTenantIdentifier() |
Resolves the current tenant identifier. In a Single tenancy setup where each tenant has their own database this would be the name of the ConnectionSource.
In a Multi Tenant setup where a single database is being used amongst multiple tenants this would be the object that is used as the tenantId property for each domain class.