public class TenantResolverAdapter
extends java.lang.Object
implements org.grails.datastore.mapping.multitenancy.TenantResolver
TenantResolver
and Micronaut TenantResolver
.Constructor and Description |
---|
TenantResolverAdapter(io.micronaut.multitenancy.tenantresolver.TenantResolver tenantResolver) |
Modifier and Type | Method and Description |
---|---|
java.io.Serializable |
resolveTenantIdentifier() |
public TenantResolverAdapter(io.micronaut.multitenancy.tenantresolver.TenantResolver tenantResolver)
tenantResolver
- a Micronaut TenantResolver
.public java.io.Serializable resolveTenantIdentifier() throws org.grails.datastore.mapping.multitenancy.exceptions.TenantException
resolveTenantIdentifier
in interface org.grails.datastore.mapping.multitenancy.TenantResolver
org.grails.datastore.mapping.multitenancy.exceptions.TenantException