Package com.ibm.fhir.config
Class FHIRRequestContextTenantIdProvider
- java.lang.Object
-
- com.ibm.fhir.config.FHIRRequestContextTenantIdProvider
-
- All Implemented Interfaces:
TenantIdProvider
public class FHIRRequestContextTenantIdProvider extends Object implements TenantIdProvider
A tenant id provider that gets the tenant id from the request context
-
-
Field Summary
-
Fields inherited from interface com.ibm.fhir.core.TenantIdProvider
DEFAULT
-
-
Constructor Summary
Constructors Constructor Description FHIRRequestContextTenantIdProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getTenantId()
Get the tenant id for a particular context
-
-
-
Method Detail
-
getTenantId
public String getTenantId()
Description copied from interface:TenantIdProvider
Get the tenant id for a particular context- Specified by:
getTenantId
in interfaceTenantIdProvider
- Returns:
- the tenant id
-
-