summaryrefslogtreecommitdiffstats
path: root/sandbox/travelsample/chapter-06/payment-spring-annotation-contribution/src/test/java/payment/client/PaymentClientImpl.java
diff options
context:
space:
mode:
authorrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-06-01 19:00:22 +0000
committerrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-06-01 19:00:22 +0000
commit38ebe24c08241e09ac0c1c5e257a25583a868566 (patch)
treedffd176567c83812f03df4cc7cd658e4f5a25e7d /sandbox/travelsample/chapter-06/payment-spring-annotation-contribution/src/test/java/payment/client/PaymentClientImpl.java
parent066ce9d3b6b12a8523c5ce208673bcbc8e6a8de6 (diff)
Move redundant modules into contrib
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@780781 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sandbox/travelsample/chapter-06/payment-spring-annotation-contribution/src/test/java/payment/client/PaymentClientImpl.java')
-rw-r--r--sandbox/travelsample/chapter-06/payment-spring-annotation-contribution/src/test/java/payment/client/PaymentClientImpl.java37
1 files changed, 0 insertions, 37 deletions
diff --git a/sandbox/travelsample/chapter-06/payment-spring-annotation-contribution/src/test/java/payment/client/PaymentClientImpl.java b/sandbox/travelsample/chapter-06/payment-spring-annotation-contribution/src/test/java/payment/client/PaymentClientImpl.java
deleted file mode 100644
index 556a699ad8..0000000000
--- a/sandbox/travelsample/chapter-06/payment-spring-annotation-contribution/src/test/java/payment/client/PaymentClientImpl.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package payment.client;
-
-import org.osoa.sca.annotations.Reference;
-import org.osoa.sca.annotations.Service;
-
-import payment.Payment;
-
-@Service(Payment.class)
-public class PaymentClientImpl implements Payment {
- @Reference
- protected Payment payment;
-
- public String makePaymentMember(String customerId, float amount) {
- // Delegate the external web service
- return payment.makePaymentMember(customerId, amount);
- }
-
-}