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

Vamsavardhana Reddy updated TUSCANY-1451:
-----------------------------------------

    Attachment: TUSCANY-1451-testcase.patch

TUSCANY-1451-testcase.patch:  A testcase.

A notable difference is that the interfaces annotated with @Service no longer 
result in references.

> Fix the algorithm to determine references for an unannotated java class
> -----------------------------------------------------------------------
>
>                 Key: TUSCANY-1451
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1451
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Java Implementation Extension
>    Affects Versions: Java-SCA-Next
>            Reporter: Raymond Feng
>             Fix For: Java-SCA-Next
>
>         Attachments: TUSCANY-1451-testcase.patch, TUSCANY-1451.patch
>
>
> http://www.osoa.org/display/Main/Errata+for+Java+Component+Implementation+V1.00
> 4. Fix and clarify algorithm for determining references of an unannotated 
> POJO (section 1.2.7)
> Replace the algorithm on lines 369-377 with the following:
> 1) If the Java type is an interface annotated with @Remotable, then it's a
> reference.
> 2) Otherwise, if the Java type is an array whose element type is an
> interface annotated with @Remotable, then it's a reference.
> 3) Otherwise, if the Java type is a java.util.Collection or a 
> sub-interface
> or sub-class of it, if the parameterized type of the collection is an
> interface annotated with @Remotable, then it's a reference.
> 4) Otherwise it's a property.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to