[ 
https://issues.apache.org/jira/browse/TUSCANY-2311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Simon Laws resolved TUSCANY-2311.
---------------------------------

    Resolution: Fixed

Committed at r659359. Thanks for the pacht Vamsi. Looks OK to me. I could be 
optimized a little I guess but I can't imagine that this situation is going to 
arise that often. As you have made and tested the fix I've committed as is. 

> Second equivalently typed callback field not injected
> -----------------------------------------------------
>
>                 Key: TUSCANY-2311
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2311
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Core Runtime
>    Affects Versions: Java-SCA-Next
>            Reporter: Kevin Williams
>            Assignee: Simon Laws
>         Attachments: TUSCANY-2311.patch
>
>
> The Java CAA specification states on lines 670-671:
> 670 If a single callback has a type that is compatible with multiple declared 
> callback fields, then all of them will
> 671 be set.
> The test 
> org.apache.tuscany.sca.vtest.javaapi.conversation.callback.CallbackTestCase.statefulMultiBidirectional()
>  demonstrates that a second annotated field with the same type is not 
> injected.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to