public class TenantConfig
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private static boolean |
alreadyInitialized
Flag that denotes if multi-tenancy configuration has already been initialized.
|
private static boolean |
enabled
Flag that denotes if multi-tenancy is enabled.
|
private static java.lang.String |
landlordURL
The JDBC URL to the landlord database.
|
| Constructor and Description |
|---|
TenantConfig()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
enableMultiTenancy()
Enable the support for multi-tenancy.
|
static void |
initialize()
Initialize the required components of multi-tenancy.
|
static boolean |
isEnabled()
Getter for the
enabled field. |
private static boolean alreadyInitialized
private static boolean enabled
private static java.lang.String landlordURL
public static void enableMultiTenancy()
public static void initialize()
public static boolean isEnabled()
enabled field.true if multi-tenancy is enabled, false otherwise.