@Concealed public final class JRFTenantContextFactory extends TenantContextFactory
Modifier and Type | Class and Description |
---|---|
static class |
JRFTenantContextFactory.Struct |
Constructor and Description |
---|
JRFTenantContextFactory() |
JRFTenantContextFactory(boolean supportableInitialization)
Internal Only directly callable by the MTHelper supportable initialization.
|
Modifier and Type | Method and Description |
---|---|
TenantContext |
getTenantContext()
Gets platform TenantContext.
|
static java.lang.Object |
getUsableServiceLocator(JRFTenantContextFactory.Struct s) |
getInstance
public JRFTenantContextFactory()
@Concealed public JRFTenantContextFactory(boolean supportableInitialization)
supportableInitialization
- flagpublic static java.lang.Object getUsableServiceLocator(JRFTenantContextFactory.Struct s) throws java.lang.ClassNotFoundException, java.lang.NoSuchMethodException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
java.lang.NoSuchMethodException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
public final TenantContext getTenantContext()
TenantContextFactory
TenantContext is always non-null regardless of what's in the environment.
getTenantContext
in class TenantContextFactory