Interface TenantResolver


  • public interface TenantResolver
    Resolves tenant identifier dynamically so that the proper configuration can be used.
    Author:
    Michael Schnell
    • 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.