@Concealed public final class JRFTenantContextFactory extends TenantContextFactory
| Modifier and Type | Class and Description |
|---|---|
static class |
JRFTenantContextFactory.Struct |
| Constructor and Description |
|---|
JRFTenantContextFactory() |
JRFTenantContextFactory(boolean supportableInitialization) |
| Modifier and Type | Method and Description |
|---|---|
TenantContext |
getTenantContext()
Gets platform TenantContext.
|
static java.lang.Object |
getUsableServiceLocator(JRFTenantContextFactory.Struct s) |
getInstancepublic JRFTenantContextFactory()
@Concealed public JRFTenantContextFactory(boolean supportableInitialization)
supportableTest - public static java.lang.Object getUsableServiceLocator(JRFTenantContextFactory.Struct s) throws java.lang.ClassNotFoundException, java.lang.NoSuchMethodException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundExceptionjava.lang.NoSuchMethodExceptionjava.lang.IllegalAccessExceptionjava.lang.reflect.InvocationTargetExceptionpublic final TenantContext getTenantContext()
TenantContextFactoryTenantContext is always non-null regardless of what's in the environment.
getTenantContext in class TenantContextFactory