public interface ModuleContext extends Serializable
ModuleContext
carries the context information which might be
used by an XI AF module to access the current channel ID, module configuration data
ot its namespaced. ModuleContext
is created by the XI AF MP (producer)
and read by the module (consumer) usually.Modifier and Type | Method and Description |
---|---|
String |
getChannelID()
Returns the ID of the currently processed channel
|
String |
getContextData(String name)
Returns a value of a module configuration parameter
|
String |
getContextData(String name,
boolean fallback)
Returns a value of a module configuration parameter and if
fallback is true and the parameter cannot be found in the module
configuration it is tried to read it from the channel configuration data.
|
Enumeration |
getContextDataKeys()
Get all configuration parameter keys (names) of this channel
|
Hashtable |
resolveNamespace(String nameSpace)
Get all configuration parameter keys (names) of this module in this channel
|
String getChannelID()
String getContextData(String name)
name
- of the module configuration parameter to readString getContextData(String name, boolean fallback)
name
- Name of the module configuration parameter to readfallback
- True, if value should be read from channel configuration if not found in the module configurationEnumeration getContextDataKeys()
Hashtable resolveNamespace(String nameSpace)
nameSpace
- Is the module key in the XI ID / PCK GUI that assigns the module configuration data
to the module.Access Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] SAP_XIAF
|
[sap.com] com.sap.aii.af.lib.facade
|
api
|
BC-XI
|
Copyright 2019 SAP AG Complete Copyright Notice