com.holonplatform.spring

## Interface TenantScopeManager

-     public interface TenantScopeManager

  Tenant scope manager API to handle tenant scoped beans lifecycle.
  Since:
    5.1.0
  See Also:
    `EnableTenantScope`

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `discardTenantBeanStore(String tenantId)` Destroy the bean store bound to given `tenant id`, i.e. removes all the tenant scoped bean instances which refer to given tenant id, triggering any associated destruction callback.

- - ### Method Detail

    - #### discardTenantBeanStore

          void discardTenantBeanStore(String tenantId)

      Destroy the bean store bound to given `tenant id`, i.e. removes all the tenant scoped bean instances which refer to given tenant id, triggering any associated destruction callback.
      Parameters:
        `tenantId` - The tenant id which identifies the bean store (not null)

Copyright © 2019 The Holon Platform. All rights reserved.