summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules
diff options
context:
space:
mode:
authorbdaniel <bdaniel@13f79535-47bb-0310-9956-ffa450edef68>2011-06-17 21:18:34 +0000
committerbdaniel <bdaniel@13f79535-47bb-0310-9956-ffa450edef68>2011-06-17 21:18:34 +0000
commitf922d1b271fb45ad5b32e3ad0753f0afbd5e95a4 (patch)
treebebeb5a57da6f474b75fdb753fc671aba2b128d3 /sca-java-2.x/trunk/modules
parentccb49a7f5e15c1b47c91ae69f9509289bec87546 (diff)
Allow tx interaction policies to attach to services and references in addition to bindings
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1137030 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules')
-rw-r--r--sca-java-2.x/trunk/modules/policy-transaction/src/main/resources/org/apache/tuscany/sca/policy/transaction/definitions.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/sca-java-2.x/trunk/modules/policy-transaction/src/main/resources/org/apache/tuscany/sca/policy/transaction/definitions.xml b/sca-java-2.x/trunk/modules/policy-transaction/src/main/resources/org/apache/tuscany/sca/policy/transaction/definitions.xml
index 99ab300499..07a6c60d82 100644
--- a/sca-java-2.x/trunk/modules/policy-transaction/src/main/resources/org/apache/tuscany/sca/policy/transaction/definitions.xml
+++ b/sca-java-2.x/trunk/modules/policy-transaction/src/main/resources/org/apache/tuscany/sca/policy/transaction/definitions.xml
@@ -38,19 +38,19 @@
<tuscany:transactionPolicy action="REQUIRE_NONE" />
</policySet>
- <policySet name="TransactedOneWayPolicySet" provides="transactedOneWay" appliesTo="//*[starts-with(name(.),'binding')]" attachTo="IntentRefs('sca:transactedOneWay')">
+ <policySet name="TransactedOneWayPolicySet" provides="transactedOneWay" appliesTo="//*[starts-with(name(.),'binding')] | //*[name(.) = 'reference'] | //*[name(.) = 'service']" attachTo="IntentRefs('sca:transactedOneWay')">
<tuscany:transactionPolicy action="PROPAGATE" />
</policySet>
- <policySet name="ImmediateOneWayPolicySet" provides="immediateOneWay" appliesTo="//*[starts-with(name(.),'binding')]" attachTo="IntentRefs('sca:immediateOneWay')">
+ <policySet name="ImmediateOneWayPolicySet" provides="immediateOneWay" appliesTo="//*[starts-with(name(.),'binding')] | //*[name(.) = 'reference'] | //*[name(.) = 'service']" attachTo="IntentRefs('sca:immediateOneWay')">
<tuscany:transactionPolicy action="SUSPEND" />
</policySet>
- <policySet name="PropagatesTransactionPolicySet" provides="propagatesTransaction" attachTo="IntentRefs('sca:propagatesTransaction')" appliesTo="//*[starts-with(name(.),'binding')]">
+ <policySet name="PropagatesTransactionPolicySet" provides="propagatesTransaction" attachTo="IntentRefs('sca:propagatesTransaction')" appliesTo="//*[starts-with(name(.),'binding')] | //*[name(.) = 'reference'] | //*[name(.) = 'service']">
<tuscany:transactionPolicy action="PROPAGATE" />
</policySet>
- <policySet name="SuspendsTransactionPolicySet" provides="suspendsTransaction" appliesTo="//*[starts-with(name(.),'binding')]" attachTo="IntentRefs('sca:suspendsTransaction')">
+ <policySet name="SuspendsTransactionPolicySet" provides="suspendsTransaction" appliesTo="//*[starts-with(name(.),'binding')] | //*[name(.) = 'reference'] | //*[name(.) = 'service']" attachTo="IntentRefs('sca:suspendsTransaction')">
<tuscany:transactionPolicy action="SUSPEND" />
</policySet>