on 02-19-2010 10:16 AM
Hi,
I've been using the method moduleContext.getContextData(nameParameterChannel) to get values from the communication channel for my custom modules adapter.
Reading the [API|http://help.sap.com/javadocs/pi/SP3/xpi/com/sap/aii/af/lib/mp/module/ModuleContext.html] there is another method for which I'm not sure what it does:
--> 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
With the usual method --> getContextData(String name), I've been always reading from the channel configuration data (name being the name of the parameter and the string returned being the value).
So what does that method above do? That place "module configuration" in contrast to "channel configuration data" is not clear to me.
Thanks!
Closing (not solution yet)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.