public class CurrentTenantIdentifierResolverImpl extends Object implements org.hibernate.context.spi.CurrentTenantIdentifierResolver
CurrentTenantIdentifierResolver
that delegates current tenant retrieval to
TenantAccessor
and fall backs to an empty string if tenant is not present/accessible.Constructor and Description |
---|
CurrentTenantIdentifierResolverImpl() |
Modifier and Type | Method and Description |
---|---|
String |
resolveCurrentTenantIdentifier() |
boolean |
validateExistingCurrentSessions() |
@Nonnull public String resolveCurrentTenantIdentifier()
resolveCurrentTenantIdentifier
in interface org.hibernate.context.spi.CurrentTenantIdentifierResolver
public boolean validateExistingCurrentSessions()
validateExistingCurrentSessions
in interface org.hibernate.context.spi.CurrentTenantIdentifierResolver
Copyright © 2019 SAP SE. All rights reserved.