public class RemoteContextServiceFactory
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BASE_CONTEXT_IS_IN_PREVIEW
This is the name of the base context.
|
static java.lang.String |
BASE_CONTEXT_IS_SECURE
This is the name of the user context.
|
static java.lang.String |
BASE_CONTEXT_MESSAGE_CONTEXT
This is the name of the http request context.
|
static java.lang.String |
BASE_CONTEXT_STORE
This is the name of the store context.
|
static java.lang.String |
BASE_CONTEXT_USER
This is the name of the user context.
|
static java.lang.String |
BASE_CTX_RUNASID
This is the name of the run-as user context.
|
static java.lang.String |
CATALOG_CONTEXT_CATALOG
This is the name of the catalog context.
|
static java.lang.String |
CONTENT_CONTEXT_SCHEMA
This is the name of the read schema from content context.
|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
static java.lang.String |
ENTITLEMENT_CONTEXT_CURRENT_CONTRACT
This is the name of current trading agreement from entitlement context.
|
static java.lang.String |
ENTITLEMENT_CONTEXT_ELIGIBLE_CONTRACT
This is the name of eligible trading agreement from entitlement context.
|
static java.lang.String |
ENTITLEMENT_CONTEXT_HOSTING_CONTRACT
This is the name of hosting contract from entitlement context.
|
static java.lang.String |
GLOBALIZATION_CONTEXT_CURRENCY
This is the name of the globalization context for currency.
|
static java.lang.String |
GLOBALIZATION_CONTEXT_LANGUAGE
This is the name of the globalization context for language.
|
static java.lang.String |
SESSION_IS_PARTIALLY_AUTHENTICATED
This flag indicates if the session is partially authenticated.
|
static java.lang.String |
TIMESTAMP_IN_PREVIEW_CONTEXT
This is the name of the timestamp in the preview context.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getContextAsString(java.lang.String contextName)
Returns the implementation of the context service to use.
|
static java.lang.Object |
getContextObject(java.lang.String contextName)
Returns the given context object from the thread.
|
static ContextService |
getContextService()
Returns the implementation of the context service to use.
|
static void |
setContextObject(java.lang.String contextName,
java.lang.Object contextObject)
Saves the given context object into the thread so that it can be
retrieved later on within the same transaction.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String BASE_CONTEXT_STORE
public static final java.lang.String BASE_CONTEXT_USER
public static final java.lang.String BASE_CONTEXT_IS_SECURE
public static final java.lang.String BASE_CONTEXT_IS_IN_PREVIEW
public static final java.lang.String TIMESTAMP_IN_PREVIEW_CONTEXT
public static final java.lang.String BASE_CONTEXT_MESSAGE_CONTEXT
public static final java.lang.String BASE_CTX_RUNASID
public static final java.lang.String GLOBALIZATION_CONTEXT_LANGUAGE
public static final java.lang.String GLOBALIZATION_CONTEXT_CURRENCY
public static final java.lang.String CATALOG_CONTEXT_CATALOG
public static final java.lang.String CONTENT_CONTEXT_SCHEMA
public static final java.lang.String ENTITLEMENT_CONTEXT_CURRENT_CONTRACT
public static final java.lang.String ENTITLEMENT_CONTEXT_ELIGIBLE_CONTRACT
public static final java.lang.String ENTITLEMENT_CONTEXT_HOSTING_CONTRACT
public static final java.lang.String SESSION_IS_PARTIALLY_AUTHENTICATED
public static java.lang.String getContextAsString(java.lang.String contextName)
contextName
- Name of the given context objectpublic static ContextService getContextService()
public static java.lang.Object getContextObject(java.lang.String contextName)
contextName
- Name of the given context objectpublic static void setContextObject(java.lang.String contextName, java.lang.Object contextObject)
contextName
- Name of the given context objectcontextObject
- Object of the given context