public class CompatibilityTenantContextImpl extends Object implements CompatibilityTenantContext
TenantContext.getCurrentTenant() that works in _all_
threads should expose a CompatibilityTenantContextImpl in their SPI.| Constructor and Description |
|---|
CompatibilityTenantContextImpl(com.atlassian.tenancy.api.TenantAccessor tenantAccessor) |
| Modifier and Type | Method and Description |
|---|---|
com.atlassian.tenancy.api.Tenant |
getCurrentTenant()
Retrieve the current tenant.
|
public CompatibilityTenantContextImpl(@Nonnull com.atlassian.tenancy.api.TenantAccessor tenantAccessor)
@Nullable public com.atlassian.tenancy.api.Tenant getCurrentTenant()
getCurrentTenant in interface com.atlassian.tenancy.api.TenantContextCopyright © 2018 Atlassian. All rights reserved.