true if oracle.isMTEnabled is set to "true", false otherwise.
getTenantId
public static final java.lang.String getTenantId()
throws oracle.adf.share.mt.MultiTenantException
Deprecated.
Gets current resource tenant id.
This API depends on resource tenancy being set on the current execution
thread. JRF Framework will handle propagating the Resource Tenancy for
Web Request, EJB usecases. However any custom threads are responsible
for managing Resource Tenancy on their own.
Returns:
the current resource tenant id, non null value. This will be current
ResourceTenancy or GlobalTenancy
Throws:
MultiTenantException - if security layer failed to initialized.
getTenantName
public static final java.lang.String getTenantName()
throws oracle.adf.share.mt.MultiTenantException
Deprecated.
Gets current resource tenant name.
This API depends on resource tenancy being set on the current execution
thread. JRF Framework will handle propagating the Resource Tenancy for
Web Request, EJB usecases. However any custom threads are responsible
for managing Resource Tenancy on their own.
Returns:
the current resource tenant id, non null value. This will be current
ResourceTenancy or GlobalTenancy
Throws:
MultiTenantException - if security layer failed to initialized.