sca-j message
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]
Subject: ISSUE-71: Incorrect code in section 6.7.2 example
- From: David Booz <booz@us.ibm.com>
- To: sca-j@lists.oasis-open.org
- Date: Wed, 17 Sep 2008 09:59:46 -0400
http://www.osoa.org/jira/browse/JAVA-71
Dave Booz
STSM, BPM and SCA Architecture
Co-Chair OASIS SCA-Policy TC and SCA-J TC
"Distributed objects first, then world hunger"
Poughkeepsie, NY (845)-435-6093 or 8-295-6093
e-mail:booz@us.ibm.com
Simon Nash <oasis@cjnash.com>
Simon Nash <oasis@cjnash.com>
09/15/2008 05:00 PM
|
|
TARGET: Java Common Annotations and APIs, WD 04, section 6.7.2
DESCRIPTION: Incorrect code in section 6.7.2 example
On line 511, this use of getCallbackID() is incorrect. This
code should obtain a RequestContext either by injection or from
the ComponentContext, then call RequestContext.getServiceReference()
to get the currently active invocation service reference, then
call getCallbackID() on that.
PROPOSAL:
Replace lines 510 through 511 by:
@Context RequestContext context;
public void receiveResult(String result) {
Object key = context.getServiceReference().getCallbackID();
---------------------------------------------------------------------
To unsubscribe from this mail list, you must leave the OASIS TC that
generates this mail. Follow this link to all your TCs in OASIS at:
https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]