← Prev in month
← Prev in thread
Next in thread →
Next in month →
ISSUE-71: Incorrect code in section 6.7.2 example
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: Simon Nash <> Simon Nash <> 09/15/2008 05:00 PM To cc Subject [sca-j] NEW ISSUE: Incorrect code in section 6.7.2 example 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
← Prev in month
← Prev in thread
Next in thread →
Next in month →