public class TenantContext extends Object
Modifier and Type | Field and Description |
---|---|
static org.apache.log4j.Logger |
logger |
Constructor and Description |
---|
TenantContext(String tenantId)
TenantContext Constructor validates the provided tenant Id and looks into cache to get
Tenant Data Sharing Policies for the current customer, It builds map if tenant sharing policies
are not available in map and keeps this map in cache, It updates the map for newly created sharing policies.
|
public TenantContext(String tenantId) throws Exception
tenantId
- Exception
public String getTenantId()