You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Vamsavardhana Reddy (JIRA)" <tu...@ws.apache.org> on 2008/04/06 20:36:24 UTC
[jira] Updated: (TUSCANY-2191) A @Service annotation with no
attributes causes exception
[ https://issues.apache.org/jira/browse/TUSCANY-2191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vamsavardhana Reddy updated TUSCANY-2191:
-----------------------------------------
Patch Info: [Patch Available]
Fix Version/s: Java-SCA-Next
> A @Service annotation with no attributes causes exception
> ---------------------------------------------------------
>
> Key: TUSCANY-2191
> URL: https://issues.apache.org/jira/browse/TUSCANY-2191
> Project: Tuscany
> Issue Type: Bug
> Components: Java SCA Core Runtime
> Affects Versions: Java-SCA-Next
> Reporter: Kevin Williams
> Fix For: Java-SCA-Next
>
> Attachments: TUSCANY-2191.patch
>
>
> Line 1635 of the Java Annotations spec says:
> A @Service annotation with no attributes is meaningless, it is the same as not having the annotation there at all.
> However, the presence of the the annotation without attributes results in the following:
> org.osoa.sca.ServiceRuntimeException: org.osoa.sca.ServiceRuntimeException: org.apache.tuscany.sca.contribution.service.ContributionResolveException: org.apache.tuscany.sca.implementation.java.introspect.impl.IllegalServiceDefinitionException: No interfaces specified
> at org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:264)
> at org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SCADomain.java:69)
--
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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org