Interface TenantComponentLookup<T>
- Type Parameters:
T- the type of the component instance
- All Known Subinterfaces:
TenantComponentProvider<T>
- All Known Implementing Classes:
TenantScopedCache
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Functional interface for looking up a component instance for a given tenant.
- Since:
- 5.3.1
- Author:
- Jan Galinski
-
Method Summary
Modifier and TypeMethodDescriptioncomponentFor(TenantDescriptor tenant) Returns the component instance for the giventenant.
-
Method Details
-
componentFor
Returns the component instance for the giventenant.- Parameters:
tenant- the tenant to provide the component instance for- Returns:
- the component instance belonging to the given
tenant - Throws:
TenantNotResolvedException- if the giventenantcannot be resolved
-