Author: slaws
Date: Fri Jul 16 08:57:28 2010
New Revision: 964718

URL: http://svn.apache.org/viewvc?rev=964718&view=rev
Log:
These days we have to attach policy sets to subjects, either explicitly or 
externally, having appliesTo alone isn't sufficient.

Modified:
    
tuscany/sca-java-2.x/trunk/itest/implementation-spring/src/main/resources/implementation/policies/META-INF/definitions.xml

Modified: 
tuscany/sca-java-2.x/trunk/itest/implementation-spring/src/main/resources/implementation/policies/META-INF/definitions.xml
URL: 
http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/itest/implementation-spring/src/main/resources/implementation/policies/META-INF/definitions.xml?rev=964718&r1=964717&r2=964718&view=diff
==============================================================================
--- 
tuscany/sca-java-2.x/trunk/itest/implementation-spring/src/main/resources/implementation/policies/META-INF/definitions.xml
 (original)
+++ 
tuscany/sca-java-2.x/trunk/itest/implementation-spring/src/main/resources/implementation/policies/META-INF/definitions.xml
 Fri Jul 16 08:57:28 2010
@@ -39,7 +39,10 @@
 
     <!-- PolicySets -->
 
-    <policySet name="JDKLoggingPolicy" provides="tuscany:logging" 
appliesTo="//sca:implementation.spring">
+    <policySet name="JDKLoggingPolicy" 
+               provides="tuscany:logging" 
+               appliesTo="//sca:implementation.spring"
+               attachTo="//sca:implementation.spring">
 <!-- empty policy set so that intents are resolved and match works but without 
including 
      any actual policy runtime artifacts
         <tuscany:jdkLogger name="calculator">


Reply via email to