[
https://issues.apache.org/jira/browse/TUSCANY-914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12466405
]
Jim Marino commented on TUSCANY-914:
------------------------------------
Sorry, two more things I forgot:
- The spec doesn't explicitly say service names and reference names need to be
unique w.r.t each other. We need to clarify this in the spec, since they will
need to be unique if both can be targets of locateService.
- The ctor for DuplicatedComponentException should included a message and an
identifier which are passed to the LoaderException superclass. The identifier
will be set with the duplicate name when the exception is created instead of
putting the name in the message.
> duplicated component name in include overwrite the using one.
> -------------------------------------------------------------
>
> Key: TUSCANY-914
> URL: https://issues.apache.org/jira/browse/TUSCANY-914
> Project: Tuscany
> Issue Type: Improvement
> Components: Java Spec APIs
> Affects Versions: Java-SCA-M3
> Reporter: Yang Lei
> Assigned To: Jim Marino
> Fix For: Java-SCA-M3
>
> Attachments: tuscany-914-take3.lresende.20070121.txt,
> tuscany914.lresende.20070121.txt
>
>
> duplicated component name in include overwrite the using one. It may be
> better to throw duplication error.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]