public final class JRFTenantContext extends TenantContext
| Constructor and Description |
|---|
JRFTenantContext(java.lang.Object wrappedContext,
JRFTenantContextFactory factory) |
| 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 JRFTenantContext(java.lang.Object wrappedContext,
JRFTenantContextFactory factory)
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()
isGlobal in class TenantContexttrue if tenant is global, else false