diff options
Diffstat (limited to 'java/sca/itest/policies')
-rw-r--r-- | java/sca/itest/policies/src/main/java/org/apache/tuscany/sca/itest/policies/impl/PaymentImpl.java | 2 | ||||
-rw-r--r-- | java/sca/itest/policies/src/main/resources/META-INF/definitions.xml | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/java/sca/itest/policies/src/main/java/org/apache/tuscany/sca/itest/policies/impl/PaymentImpl.java b/java/sca/itest/policies/src/main/java/org/apache/tuscany/sca/itest/policies/impl/PaymentImpl.java index 1388d2ea75..4bda0d5e95 100644 --- a/java/sca/itest/policies/src/main/java/org/apache/tuscany/sca/itest/policies/impl/PaymentImpl.java +++ b/java/sca/itest/policies/src/main/java/org/apache/tuscany/sca/itest/policies/impl/PaymentImpl.java @@ -24,6 +24,7 @@ import org.apache.tuscany.sca.itest.policies.CreditCardPayment; import org.apache.tuscany.sca.itest.policies.Customer;
import org.apache.tuscany.sca.itest.policies.CustomerRegistry;
import org.apache.tuscany.sca.itest.policies.Payment;
+import org.apache.tuscany.sca.policy.logging.Logging;
import org.oasisopen.sca.annotation.Authentication;
import org.oasisopen.sca.annotation.Confidentiality;
import org.oasisopen.sca.annotation.Reference;
@@ -32,6 +33,7 @@ import org.oasisopen.sca.annotation.Requires; /**
*
*/
+@Logging
public class PaymentImpl implements Payment {
@Reference
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 1698f885a5..9e8084ffcf 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 @@ -23,7 +23,7 @@ <policySet name="JDKLoggingPolicy"
provides="tuscany:logging"
- appliesTo="binding|implementation">
+ appliesTo="//binding | //implementation">
<tuscany:jdkLogger name="test.logger">
<tuscany:logLevel>FINE</tuscany:logLevel>
<tuscany:resourceBundle>LoggingMessages.properties</tuscany:resourceBundle>
|