All Superinterfaces:
Supplier <Optional <String >>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
The CurrentTenantResolver implementation resolves the current tenant context
when using service binding configuration that supports multi tenancy.
Method Summary
All Methods Instance Methods Abstract Methods
Resolve the current tenant context in order to dispatch notifications to
the correct tenant.
Method Details
get
Resolve the current tenant context in order to dispatch notifications to
the correct tenant. For identification, the tenant's identity zone id is
used.
Specified by:
get
in interface Supplier <Optional <String >>
Returns:
The current tenant-id or an empty optional if not set