[
https://issues.apache.org/jira/browse/TUSCANY-1449?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
wangfeng updated TUSCANY-1449:
------------------------------
Attachment: 1449.patch
I am sorry for this.I have make the patch using the patch format.
The patch resolve the problem which is not support java class and must has
attributes on the annotation of 'Service' .
> The annotation 'Service' processor occurs error.
> ------------------------------------------------
>
> Key: TUSCANY-1449
> URL: https://issues.apache.org/jira/browse/TUSCANY-1449
> Project: Tuscany
> Issue Type: Bug
> Components: Java SCA Core Runtime
> Affects Versions: Java-SCA-0.91
> Reporter: wangfeng
> Fix For: Java-SCA-Next
>
> Attachments: 1449.patch, ServiceProcessor.java
>
>
> 1.The SCA Java Component Implementation Spec (line 21 to 121) show the
> annotation 'Service' value may be three ways:Java Interface,Java class,WSDL
> portType.But in tuscany only support Java Interface.
> 21 1.2.1 Service
> 22 A component implementation based on a Java class may provide one or
> more services.
> 23 The services provided by a Java-based implementation may have an
> interface defined in one of the
> 24 following ways:
> 25 A Java interface
> 26 A Java class
> 27 A Java interface generated from a Web Services Description
> Language[3] (WSDL) portType
> 2.The SCA Java AnnotationsAndAPIs Spec (line 1635) show the annotation
> 'Service' can has not attributes,but the 'Service' processor in tuscany don't
> support this.
> 1635 A @Service annotation with no attributes is meaningless, it is the same
> as not having the annotation there
> 1636 at all.
--
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]