You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Mike Edwards (JIRA)" <de...@tuscany.apache.org> on 2009/10/19 17:26:59 UTC

[jira] Resolved: (TUSCANY-3304) JCA_10049 serviceNamesMismatchImpl.java invalid annotation

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

Mike Edwards resolved TUSCANY-3304.
-----------------------------------

    Resolution: Fixed

Fixed in latest version of the Java CAA testcase suite

> JCA_10049 serviceNamesMismatchImpl.java invalid annotation
> ----------------------------------------------------------
>
>                 Key: TUSCANY-3304
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3304
>             Project: Tuscany
>          Issue Type: Bug
>          Components: OASIS Compliance - OASIS
>            Reporter: ant elder
>
> There's an invalid annotation causing a compile error:
>    JCA_10049\src\main\java\org\oasisopen\sca\test\serviceNamesMismatchImpl.java
> when the attribute is using multiple parameters you need to specify the attribute name: 
> -@Service({Service1.class, Service1Superset.class}, names={"Service1", "AnotherService", "YetAnotherService"})
> +@Service(value={Service1.class, Service1Superset.class}, names={"Service1", "AnotherService", "YetAnotherService"})

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