public abstract class MTHelper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
sharedModeSysProp |
Constructor and Description |
---|
MTHelper() |
Modifier and Type | Method and Description |
---|---|
static boolean |
getMultitenancyEnabled()
Deprecated.
|
static boolean |
getSharedMode() |
static boolean |
isMultitenancySupportable()
Gets whether multi tenancy is supportable on the current platform.
|
static void |
throwTenantInvalidException()
This method doesn't return, instead it throws an appropriate RuntimeException
then creates an incident with all currently registered dump providers.
|
static void |
throwTenantInvalidException(java.lang.Throwable t)
This method doesn't return, instead it throws an appropriate RuntimeException
then creates an incident with all currently registered dump providers.
|
public static final java.lang.String sharedModeSysProp
@Concealed public static boolean getSharedMode()
@Deprecated public static boolean getMultitenancyEnabled()
Multi tenancy is true if JRF says it's true, else false. Note: not supported in, design time, or non-WLS EE platforms (Glassfish etc).
true
if multi tenancy supported and enabled.public static boolean isMultitenancySupportable()
Multi tenancy is theoretically supportable if either:
true
if multi tenancy supported and enabled.public static void throwTenantInvalidException()
public static void throwTenantInvalidException(java.lang.Throwable t)
t
- pass a Throwable if there's additional failure information