[ https://issues.apache.org/jira/browse/TUSCANY-2140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12582235#action_12582235 ]
Vamsavardhana Reddy commented on TUSCANY-2140: ---------------------------------------------- Errata says ------------ 7. @Scope annotations may only be used on classes, not interfaces. Replace the sentence on lines 1584-1585 with the following: "The @Scope annotation type is may only be used on a service's implementation class. It is an error to use this annotation on an interface." Delete the example in lines 1592-1603. ------------------- So, it should give an error when @Scope is used on an interface, which I don't recall observing. Will verify and change the description accordingly. > @Scope annotation on interface does not work. > --------------------------------------------- > > Key: TUSCANY-2140 > URL: https://issues.apache.org/jira/browse/TUSCANY-2140 > Project: Tuscany > Issue Type: Bug > Components: Java SCA Assembly Model, Java SCA Core Runtime > Affects Versions: Java-SCA-1.2 > Reporter: Vamsavardhana Reddy > Fix For: Java-SCA-Next > > > Java Common Annotations and APIs spec - section 1.8.6 (lines 1592 thru 1602) > shows an example of specifying @Scope annotation on an interface definition. > I am noticing that this annotation is ignored and only the Scope set on the > implementation class is used. -- 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]