public class ADFTenantContext extends TenantContext
| Constructor and Description |
|---|
ADFTenantContext() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCurrentPartitionName()
Gets the current partition name or "DOMAIN" if it's not available.
|
Tenant |
getCurrentTenant()
Gets current platform tenant.
|
java.util.UUID |
getServiceUUID()
Gets the service UUID of current request.
|
java.lang.String |
getTopLevelDir()
Gets top level dir of tenant mapping.
|
boolean |
isGlobal()
Tests global tenancy.
|
public Tenant getCurrentTenant()
TenantContextOn WebLogic the tenant is null if tenants are not mapped in lifecycle-config.xml.
getCurrentTenant in class TenantContextpublic java.lang.String getTopLevelDir()
TenantContextgetTopLevelDir in class TenantContextpublic java.lang.String getCurrentPartitionName()
TenantContextgetCurrentPartitionName in class TenantContextpublic java.util.UUID getServiceUUID()
TenantContextgetServiceUUID in class TenantContextpublic boolean isGlobal()
TenantContextisGlobal in class TenantContexttrue if tenant is global, else false