The check of mutually exclusive intents is performed in
org.apache.tuscany.sca.assembly.builder.impl.CompositePolicyBuilderImpl.isMutualExclusive(PolicySubject,
PolicySubject) method. At this point, it only returns true or false but
doesn't throw an exception yet.
Thanks,
Raymond
--------------------------------------------------
From: "Luciano Resende" <[email protected]>
Sent: Sunday, August 09, 2009 9:40 PM
To: "tuscany-dev" <[email protected]>
Subject: [2.x] Resolving Policy Intents
I'm looking into some of the failing oTests, and why mutually
exclusive intents are not being flag as errors as defined by the spec,
and it seems the main reason is because the required intents are not
resolved when the check is being done, thus the list of excluded
intents are empty. After a quick search and comparing with the 1.x
code, it seems to me that some of the resolving code we have has been
commented/deleted, I'll look into this a little more, and start adding
it back... but please let me know if this code has been refactored and
is available in a different place in 2.x
--
Luciano Resende
Apache Tuscany, Apache PhotArk
http://people.apache.org/~lresende
http://lresende.blogspot.com/