summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2010-01-21 21:56:01 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2010-01-21 21:56:01 +0000
commit5d68020cd35a9c62267e8e0861adb5d6995322a9 (patch)
treed66f06459c90b61acbdfe318bb18a776c45fed29 /sca-java-2.x/trunk
parent600dcce061f507715f6bdce8bc3e36a5df1bb3c4 (diff)
Didn't need to add the managed shared policy piece as it's just a profile intent. Doh
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@901878 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk')
-rw-r--r--sca-java-2.x/trunk/modules/policy-transaction/src/main/java/org/apache/tuscany/sca/policy/transaction/runtime/TransactionIntent.java3
-rw-r--r--sca-java-2.x/trunk/modules/policy-transaction/src/main/resources/org/apache/tuscany/sca/policy/transaction/definitions.xml14
2 files changed, 6 insertions, 11 deletions
diff --git a/sca-java-2.x/trunk/modules/policy-transaction/src/main/java/org/apache/tuscany/sca/policy/transaction/runtime/TransactionIntent.java b/sca-java-2.x/trunk/modules/policy-transaction/src/main/java/org/apache/tuscany/sca/policy/transaction/runtime/TransactionIntent.java
index ac17eb9f99..196b9cc0a1 100644
--- a/sca-java-2.x/trunk/modules/policy-transaction/src/main/java/org/apache/tuscany/sca/policy/transaction/runtime/TransactionIntent.java
+++ b/sca-java-2.x/trunk/modules/policy-transaction/src/main/java/org/apache/tuscany/sca/policy/transaction/runtime/TransactionIntent.java
@@ -30,6 +30,5 @@ public enum TransactionIntent {
propagatesTransacton,
suspendsTransaction,
transactedOneWay,
- immediateOneWay,
- managedSharedTransaction
+ immediateOneWay
}
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 9b3dca48e9..f49322e1e8 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,24 +38,20 @@
<tuscany:transactionPolicy action="REQUIRE_NONE" />
</policySet>
- <policySet name="TransactedOneWayPolicySet" provides="transactedOneWay" appliesTo="implementation">
+ <policySet name="TransactedOneWayPolicySet" provides="transactedOneWay" appliesTo="binding">
<tuscany:transactionPolicy action="PROPAGATE" />
</policySet>
- <policySet name="ImmediateOneWayPolicySet" provides="immediateOneWay" appliesTo="implementation">
+ <policySet name="ImmediateOneWayPolicySet" provides="immediateOneWay" appliesTo="binding">
<tuscany:transactionPolicy action="SUSPEND" />
</policySet>
- <policySet name="PropagatesTransactionPolicySet" provides="propagatesTransaction" appliesTo="implementation">
+ <policySet name="PropagatesTransactionPolicySet" provides="propagatesTransaction" appliesTo="binding">
<tuscany:transactionPolicy action="PROPAGATE" />
</policySet>
- <policySet name="SuspendsTransactionPolicySet" provides="suspendsTransaction" appliesTo="implementation">
+ <policySet name="SuspendsTransactionPolicySet" provides="suspendsTransaction" appliesTo="binding">
<tuscany:transactionPolicy action="SUSPEND" />
- </policySet>
-
- <policySet name="ManagedSharedPolicySet" provides="managedSharedTransaction" appliesTo="implementation">
- <tuscany:transactionPolicy action="SUSPEND" />
- </policySet>
+ </policySet>
</definitions> \ No newline at end of file