public class TenantManager extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
acquireReadLock() |
static void |
acquireWriteLock() |
void |
addTenant(Tenant tenant) |
void |
addTenants(List<Tenant> tenants) |
static TenantManager |
getInstance() |
Tenant |
getTenant(int tenantId) |
Tenant |
getTenant(String tenantDomain) |
boolean |
isInitialized() |
static void |
releaseReadLock() |
static void |
releaseWriteLock() |
void |
removeTenant(int tenantId) |
void |
setInitialized(boolean initialized) |
boolean |
tenantExists(int tenantId) |
public static void acquireReadLock()
public static void releaseReadLock()
public static void acquireWriteLock()
public static void releaseWriteLock()
public static TenantManager getInstance()
public void addTenant(Tenant tenant)
public Tenant getTenant(int tenantId)
public boolean tenantExists(int tenantId)
public void removeTenant(int tenantId)
public void setInitialized(boolean initialized)
public boolean isInitialized()
Copyright © 2012–2016 The Apache Software Foundation. All rights reserved.