tuscany-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Dritschler <greg.dritsch...@gmail.com>
Subject TUSCANY-4005 is in error
Date Mon, 20 Feb 2012 19:03:20 GMT
I believe the fix for TUSCANY-4005 is in error.  The goal of the fix was to
comply with this requirement:

The target component has multiple services. According to the following text
in the assembly specification, the target component must have one and only
one service with a compatible interface.

 1844 If <service-name> is not present, the target component MUST have one
and only
 1845 one service with an interface that is a compatible superset of the
wire source's
 1845 interface and satisifies the policy requirements of the wire source,
and the SCA
 1846 runtime MUST use this service for the wire. [ASM60048]

The fix checks if there are multiple candidate targets BEFORE DOING ANY
FILTERING for interface compatibility or policy matching.  If the target
does have one and only one service with a compatible interface and policy,
you now get the error introduced by the fix.  This was not the intention.

View raw message