summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-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>