@PublicApi public abstract class TenantContext extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TenantContext.Builder |
| Modifier | Constructor and Description |
|---|---|
protected |
TenantContext(TenantContext.Builder builder) |
protected |
TenantContext(TenantContext tc) |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,String> |
getExtraContext()
Returns an immutable extraContext of the extra TenantContext name/value pairs which are specific
for the current product TenantContext.
|
String |
getGlobalCacheIdentifier()
The tenant global cache identifier.
|
String |
getJdbcPassword()
The password used to connect to the database.
|
String |
getJdbcUrl()
The Jdbc Url for the current tenant.
|
String |
getJdbcUsername()
The username used to connect to database
|
String |
getMemcachedUrl()
The memcached server Url for use by the product.
|
String |
getTenantId()
The id that uniquely identifies the current tenant.
|
String |
toString() |
protected TenantContext(TenantContext.Builder builder)
protected TenantContext(TenantContext tc)
public final String getTenantId()
public final String getJdbcUrl()
public final String getJdbcUsername()
public final String getJdbcPassword()
public final String getMemcachedUrl()
public final String getGlobalCacheIdentifier()
protected final Map<String,String> getExtraContext()
Copyright © 2016 Atlassian. All rights reserved.