tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdan...@apache.org
Subject svn commit: r964066 - /tuscany/sca-java-2.x/trunk/modules/policy-transaction/src/main/resources/org/apache/tuscany/sca/policy/transaction/definitions.xml
Date Wed, 14 Jul 2010 14:43:42 GMT
Author: bdaniel
Date: Wed Jul 14 14:43:41 2010
New Revision: 964066

URL: http://svn.apache.org/viewvc?rev=964066&view=rev
Log:
Allow transaction policy sets to be used with external attachment

Modified:
    tuscany/sca-java-2.x/trunk/modules/policy-transaction/src/main/resources/org/apache/tuscany/sca/policy/transaction/definitions.xml

Modified: tuscany/sca-java-2.x/trunk/modules/policy-transaction/src/main/resources/org/apache/tuscany/sca/policy/transaction/definitions.xml
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/modules/policy-transaction/src/main/resources/org/apache/tuscany/sca/policy/transaction/definitions.xml?rev=964066&r1=964065&r2=964066&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/modules/policy-transaction/src/main/resources/org/apache/tuscany/sca/policy/transaction/definitions.xml
(original)
+++ tuscany/sca-java-2.x/trunk/modules/policy-transaction/src/main/resources/org/apache/tuscany/sca/policy/transaction/definitions.xml
Wed Jul 14 14:43:41 2010
@@ -22,7 +22,7 @@
              xmlns:sca="http://docs.oasis-open.org/ns/opencsa/sca/200912" 
              xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.1">
 
-    <policySet name="ManagedTransactionPolicySet" provides="managedTransaction" appliesTo="implementation">
+    <policySet name="ManagedTransactionPolicySet" provides="managedTransaction" appliesTo="implementation"
attachTo="IntentRefs('sca:managedTransaction')">
         <intentMap provides="managedTransaction">
             <qualifier name="global"> <!-- default="true" -->
                 <tuscany:transactionPolicy transactionTimeout="1200" action="REQUIRE_GLOBAL"
/>
@@ -34,23 +34,23 @@
     </policySet>
 
     <policySet name="NoManagedTransactionPolicySet" provides="noManagedTransaction"
-        appliesTo="implementation">
+        appliesTo="implementation" attachTo="IntentRefs('sca:noManagedTransaction')">
         <tuscany:transactionPolicy action="REQUIRE_NONE" />
     </policySet>
     
-    <policySet name="TransactedOneWayPolicySet" provides="transactedOneWay" appliesTo="binding">
+    <policySet name="TransactedOneWayPolicySet" provides="transactedOneWay" appliesTo="binding"
attachTo="IntentRefs('sca:transactedOneWay')">
         <tuscany:transactionPolicy action="PROPAGATE" />
     </policySet>    
     
-    <policySet name="ImmediateOneWayPolicySet" provides="immediateOneWay" appliesTo="binding">
+    <policySet name="ImmediateOneWayPolicySet" provides="immediateOneWay" appliesTo="binding"
attachTo="IntentRefs('sca:immediateOneWay')">
         <tuscany:transactionPolicy action="SUSPEND" />
     </policySet>    
 
-    <policySet name="PropagatesTransactionPolicySet" provides="propagatesTransaction"
appliesTo="binding">
+    <policySet name="PropagatesTransactionPolicySet" provides="propagatesTransaction"
attachTo="IntentRefs('sca:propagatesTransaction')" appliesTo="binding">
         <tuscany:transactionPolicy action="PROPAGATE" />
     </policySet>
 
-    <policySet name="SuspendsTransactionPolicySet" provides="suspendsTransaction" appliesTo="binding">
+    <policySet name="SuspendsTransactionPolicySet" provides="suspendsTransaction" appliesTo="binding"
attachTo="IntentRefs('sca:suspendsTransaction')">
         <tuscany:transactionPolicy action="SUSPEND" />
     </policySet>  
 



Mime
View raw message