diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2010-07-16 08:57:28 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2010-07-16 08:57:28 +0000 |
commit | 56d35e582159b7c9f23ad6774595b7b6676a56c7 (patch) | |
tree | 1dae8600d3029aadeb58dacef87802bea00ae4da | |
parent | d7a3904140de29ac41b87c5e55e7524d1bd8225d (diff) |
These days we have to attach policy sets to subjects, either explicitly or externally, having appliesTo alone isn't sufficient.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@964718 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | sca-java-2.x/trunk/itest/implementation-spring/src/main/resources/implementation/policies/META-INF/definitions.xml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sca-java-2.x/trunk/itest/implementation-spring/src/main/resources/implementation/policies/META-INF/definitions.xml b/sca-java-2.x/trunk/itest/implementation-spring/src/main/resources/implementation/policies/META-INF/definitions.xml index 5c44e023dd..efc2464425 100644 --- a/sca-java-2.x/trunk/itest/implementation-spring/src/main/resources/implementation/policies/META-INF/definitions.xml +++ b/sca-java-2.x/trunk/itest/implementation-spring/src/main/resources/implementation/policies/META-INF/definitions.xml @@ -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"> |