diff options
author | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2009-09-29 23:41:25 +0000 |
---|---|---|
committer | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2009-09-29 23:41:25 +0000 |
commit | b7fb8ba1b979ed77a8d9ad29acd15d9ae9a78d8f (patch) | |
tree | 17c1ac5452f43fb8e090c751232ec62900061b75 /java/sca/itest/policies/src | |
parent | bd77e0fb2851f7ae6a45a11ea9cda0979c035539 (diff) |
Start to integrate the policy attachment builder
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@820125 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | java/sca/itest/policies/src/main/resources/META-INF/definitions.xml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/java/sca/itest/policies/src/main/resources/META-INF/definitions.xml b/java/sca/itest/policies/src/main/resources/META-INF/definitions.xml index 8ac31d5f56..0a39912bf0 100644 --- a/java/sca/itest/policies/src/main/resources/META-INF/definitions.xml +++ b/java/sca/itest/policies/src/main/resources/META-INF/definitions.xml @@ -18,6 +18,7 @@ * under the License. --> <definitions xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200903" + xmlns:sca="http://docs.oasis-open.org/ns/opencsa/sca/200903" targetNamespace="http://tuscany.apache.org/xmlns/sca/1.1" xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.1"> @@ -31,4 +32,15 @@ </policySet> + <policySet name="JDKLoggingImplPolicy" + provides="tuscany:logging" + appliesTo="//implementation.java" + attachTo="//sca:component[@name='CreditCardPayment']"> + <tuscany:jdkLogger name="test.logger"> + <tuscany:logLevel>INFO</tuscany:logLevel> + <tuscany:resourceBundle>LoggingMessages.properties</tuscany:resourceBundle> + </tuscany:jdkLogger> + + </policySet> + </definitions>
\ No newline at end of file |