You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Ramkumar Ramalingam (JIRA)" <de...@tuscany.apache.org> on 2009/09/08 10:44:57 UTC

[jira] Resolved: (TUSCANY-3237) Use of collections for implicit SCA reference/property injection in constructors

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

Ramkumar Ramalingam resolved TUSCANY-3237.
------------------------------------------

       Resolution: Fixed
    Fix Version/s: Java-SCA-1.5.1

Committed revision 812392 in 1.5.1.

As a fix to TUSCANY-3237, the usage of autoIndex logic is being removed, as the autoIndex logic was making some assumption on the order of the contructor-arg defined which might mess up things for few scenarios.

Regarding the direct use (implicit use) of SCA reference/properties for the collections within constructor arguments, we will have to stick to the current limitation of not supporting any implicit SCA references/properties within any collections as documented in http://tuscany.apache.org/sca-java-implementationspring.html. So for any SCA reference/properties used within any collections, an explicit SCA reference/property declaration should be available using <sca:reference> / <sca:property> element.

Tuscany documentation page is updated accordingly.

> Use of collections for implicit SCA reference/property injection in constructors
> --------------------------------------------------------------------------------
>
>                 Key: TUSCANY-3237
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3237
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Spring Implementation Extension
>    Affects Versions: Java-SCA-1.5
>            Reporter: Andrew Mak
>            Assignee: Ramkumar Ramalingam
>             Fix For: Java-SCA-1.5.1
>
>
> In conversation with Ram, we came across some scenarios dealing with using collections in constructors.  In http://tuscany.apache.org/sca-java-implementationspring.html it is explicitly stated that collections are not support for bean property injection, but it doesn't claim the same for constructors and the behavior in Tuscany is unknown.  This needs to be investigated.

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