You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Simon Laws (JIRA)" <tu...@ws.apache.org> on 2008/06/02 11:17:47 UTC

[jira] Created: (TUSCANY-2360) Autowiring in nested composites doesn't work in all cases

Autowiring in nested composites doesn't work in all cases
---------------------------------------------------------

                 Key: TUSCANY-2360
                 URL: https://issues.apache.org/jira/browse/TUSCANY-2360
             Project: Tuscany
          Issue Type: Bug
          Components: Java SCA Core Runtime
    Affects Versions: Java-SCA-1.2
         Environment: WinXP SP2, IBM JDK 5
            Reporter: Simon Laws
             Fix For: Java-SCA-Next


I had expect that autowire operated within  the context of a composite even when that composite is used as part of recursive composition. I've been playing with a simple test (attached) that has up to 3 levels of composite and in each level two component are autowired together. It seems that it's not always the case that the autowiring works as I had expected. Sometimes a component is autowired to a component at another level. I haven't determined a pattern in this. 

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


[jira] Updated: (TUSCANY-2360) Autowiring in nested composites doesn't work in all cases

Posted by "Simon Laws (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon Laws updated TUSCANY-2360:
--------------------------------

    Attachment: MultiLevelRecusion.zip

We could turn this into an itest with some work I guess but for now this is just what I've been playing with. 

> Autowiring in nested composites doesn't work in all cases
> ---------------------------------------------------------
>
>                 Key: TUSCANY-2360
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2360
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Core Runtime
>    Affects Versions: Java-SCA-1.2
>         Environment: WinXP SP2, IBM JDK 5
>            Reporter: Simon Laws
>             Fix For: Java-SCA-Next
>
>         Attachments: MultiLevelRecusion.zip
>
>
> I had expect that autowire operated within  the context of a composite even when that composite is used as part of recursive composition. I've been playing with a simple test (attached) that has up to 3 levels of composite and in each level two component are autowired together. It seems that it's not always the case that the autowiring works as I had expected. Sometimes a component is autowired to a component at another level. I haven't determined a pattern in this. 

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


[jira] Resolved: (TUSCANY-2360) Autowiring in nested composites doesn't work in all cases

Posted by "Simon Laws (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon Laws resolved TUSCANY-2360.
---------------------------------

    Resolution: Fixed

Changes committed at r665992. Changed wire build so that autowire doesn't wire to self and so that composite references override promoted references. 

> Autowiring in nested composites doesn't work in all cases
> ---------------------------------------------------------
>
>                 Key: TUSCANY-2360
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2360
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Core Runtime
>    Affects Versions: Java-SCA-1.2
>         Environment: WinXP SP2, IBM JDK 5
>            Reporter: Simon Laws
>            Assignee: Simon Laws
>             Fix For: Java-SCA-Next
>
>         Attachments: MultiLevelRecusion.zip
>
>
> I had expect that autowire operated within  the context of a composite even when that composite is used as part of recursive composition. I've been playing with a simple test (attached) that has up to 3 levels of composite and in each level two component are autowired together. It seems that it's not always the case that the autowiring works as I had expected. Sometimes a component is autowired to a component at another level. I haven't determined a pattern in this. 

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


[jira] Assigned: (TUSCANY-2360) Autowiring in nested composites doesn't work in all cases

Posted by "Simon Laws (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon Laws reassigned TUSCANY-2360:
-----------------------------------

    Assignee: Simon Laws

> Autowiring in nested composites doesn't work in all cases
> ---------------------------------------------------------
>
>                 Key: TUSCANY-2360
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2360
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Core Runtime
>    Affects Versions: Java-SCA-1.2
>         Environment: WinXP SP2, IBM JDK 5
>            Reporter: Simon Laws
>            Assignee: Simon Laws
>             Fix For: Java-SCA-Next
>
>         Attachments: MultiLevelRecusion.zip
>
>
> I had expect that autowire operated within  the context of a composite even when that composite is used as part of recursive composition. I've been playing with a simple test (attached) that has up to 3 levels of composite and in each level two component are autowired together. It seems that it's not always the case that the autowiring works as I had expected. Sometimes a component is autowired to a component at another level. I haven't determined a pattern in this. 

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