Package spring.tenant

Class CurrentTenantIdentifierResolverImpl

java.lang.Object
spring.tenant.CurrentTenantIdentifierResolverImpl
All Implemented Interfaces:
org.hibernate.context.spi.CurrentTenantIdentifierResolver<String>

public class CurrentTenantIdentifierResolverImpl extends Object implements org.hibernate.context.spi.CurrentTenantIdentifierResolver<String>
  • Constructor Details

    • CurrentTenantIdentifierResolverImpl

      public CurrentTenantIdentifierResolverImpl()
  • Method Details

    • resolveCurrentTenantIdentifier

      public String resolveCurrentTenantIdentifier()
      Specified by:
      resolveCurrentTenantIdentifier in interface org.hibernate.context.spi.CurrentTenantIdentifierResolver<String>
    • validateExistingCurrentSessions

      public boolean validateExistingCurrentSessions()
      Specified by:
      validateExistingCurrentSessions in interface org.hibernate.context.spi.CurrentTenantIdentifierResolver<String>