Package com.ibm.fhir.core
Interface TenantIdProvider
-
- All Known Implementing Classes:
FHIRRequestContextTenantIdProvider
public interface TenantIdProvider
An interface for providing the tenant id to the application for a particular context
-
-
Field Summary
Fields Modifier and Type Field Description static TenantIdProvider
DEFAULT
The default tenant id provider
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getTenantId()
Get the tenant id for a particular contextstatic TenantIdProvider
provider()
A factory method for getting a tenant id provider from the service loader or the default tenant id provider
-
-
-
Field Detail
-
DEFAULT
static final TenantIdProvider DEFAULT
The default tenant id provider
-
-
Method Detail
-
getTenantId
java.lang.String getTenantId()
Get the tenant id for a particular context- Returns:
- the tenant id
-
provider
static TenantIdProvider provider()
A factory method for getting a tenant id provider from the service loader or the default tenant id provider- Returns:
- the tenant id provider from the service loader or the default provider
-
-