[ 
https://issues.apache.org/jira/browse/TUSCANY-1059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12472401
 ] 

Raymond Feng commented on TUSCANY-1059:
---------------------------------------

Adding a note from the ML:

On Feb 9, 2007, at 2:32 PM, Scott Kurz wrote:

> Hi,
>
> I was just looking back on this thread and wondering where we ended  
> up.
> Did the Java C&I spec and/or any IRC discussions add some clarity  
> here?
>
> It seems a shame to lose the simple syntax in the more common case to
> support the strange case where the service name really needs pkg
> qualification.   It's probably too late to point this out but the  
> spec could
> deal with this by saying that in this edge case the default service  
> name
> includes pkg qualification while in the more typical case the  
> service name
> is calculated as the unqualified intf name.
I haven't forgot but we've been dealing with so many other spec  
issues, including the API changes, that I figured we would deal with  
this in the 1.1 version of the specs. I think the solution you  
outlined is good (i.e. default to the simple name when possible) and  
in the case where there is more than one simple name, either use the  
fully qualified name or allow an annotation to specify an alias.
>
> I wonder if everyone is using single-service components and  
> bypassing this
> issue...
>
No I think multiple services will be common enough we should support  
something per the above. If you're interested in working on a patch,  
I'd be happy to help if needed.

Jim


> Tuscany has a different rule against the SCA spec on how to derive the 
> service name from a java interface
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1059
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1059
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Core, Specification
>    Affects Versions: Java-SCA-M3
>            Reporter: Raymond Feng
>            Priority: Critical
>             Fix For: Java-SCA-M3
>
>
> The current SCA spec says: 
> "The service names of the defined services default to the names of the 
> interfaces or class, without the package name."
> But the tuscany implementation expects the fully-qualified java itnerface 
> name as the service name,
> Please see the discussions at: 
> http://www.mail-archive.com/[email protected]/msg12518.html
> We either need to propose the change to the SCA spec or have the Tuscany 
> conform to the spec.

-- 
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]

Reply via email to