Interface TenantProviderService

All Superinterfaces:
Service

public interface TenantProviderService extends Service
Interface for a Service that provides tenant information.
  • Field Details

  • Method Details

    • readTenants

      default List<String> readTenants()
      Returns:
      A list of tenant identifiers that are currently subscribed to this application. In single tenant scenario the list contains a single null value representing the provider tenant.
    • readTenantsInfo

      List<TenantInfo> readTenantsInfo()
      Returns:
      A list of TenantInfo for all tenants that are currently subscribed to this application. In single tenant scenario the list contains a single TenantInfo object with tenant null representing the provider tenant.
    • readProviderTenant

      String readProviderTenant()
      Returns:
      The tenant identifier of the tenant that provides this application. In single tenant scenario the value null is returned.