Constructor and Description |
---|
Tenant() |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String |
getTenantId()
Deprecated.
|
abstract java.lang.String |
getTenantName()
Gets the tenant name.
|
abstract java.util.UUID |
getTenantUUID()
Gets the tenant UUID.
|
abstract boolean |
isGlobal()
Tests global tenancy.
|
public abstract java.lang.String getTenantName()
On WebLogic if the tenant is global the name is TenantContext.GLOBAL_NAME
public abstract java.util.UUID getTenantUUID()
On WebLogic if the tenant is global the UUID is TenantContext.GLOBAL_UUID
@Deprecated public abstract java.lang.String getTenantId()
On MT enabled mode, if the tenant is global the id is
TenantContext.GLOBAL_ID
.
It's preferred that the isGlobal be used to determine that.
public abstract boolean isGlobal()
true
if tenant is global, else false