Package | Description |
---|---|
com.alibaba.tenant |
Modifier and Type | Method and Description |
---|---|
static TenantContainer |
TenantContainer.containerOf(Object obj)
Retrieve the tenant container where
obj is allocated in |
static TenantContainer |
TenantContainer.create(String name,
TenantConfiguration configuration)
Create tenant container by the name and configuration
|
static TenantContainer |
TenantContainer.create(TenantConfiguration configuration)
Create tenant container by the configuration
|
static TenantContainer |
TenantContainer.create(TenantContainer parent,
String name,
TenantConfiguration configuration)
Create tenant container by the name and configuration
|
static TenantContainer |
TenantContainer.create(TenantContainer parent,
TenantConfiguration configuration)
Create tenant container by the configuration
|
static TenantContainer |
TenantContainer.current()
Gets the TenantContainer attached to the current thread.
|
static TenantContainer |
TenantContainer.getTenantContainerById(long id)
Get the tenant container by id
|
static TenantContainer |
TenantContainerFactory.tenantContainerOf(ResourceContainer resourceContainer)
Retrieve the
TenantContainer object associated with given ResourceContainer |
Modifier and Type | Method and Description |
---|---|
static TenantContainer |
TenantContainer.create(TenantContainer parent,
String name,
TenantConfiguration configuration)
Create tenant container by the name and configuration
|
static TenantContainer |
TenantContainer.create(TenantContainer parent,
TenantConfiguration configuration)
Create tenant container by the configuration
|
"Copyright 2018, Alibaba, Inc."