diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2009-02-08 15:02:03 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2009-02-08 15:02:03 +0000 |
commit | 0e4846e9b7eed9d2acf12a5924105ede04fe839b (patch) | |
tree | 65cbd750bb77a74f9952e08a28dd9f69b1182942 /sandbox/travelsample/chapter-06/payment-bpel-contribution/test/scatours/payment/client/PaymentClientImpl.java | |
parent | a1475c1fb472b2a953f776a6419b5725311832d7 (diff) |
Sort out payment component using implementation.bpel
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@742117 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | sandbox/travelsample/chapter-06/payment-bpel-contribution/test/scatours/payment/client/PaymentClientImpl.java (renamed from sandbox/travelsample/chapter-06/paymentprocess-contribution/test/scatours/paymentprocess/PaymentProcessClientImpl.java) | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/sandbox/travelsample/chapter-06/paymentprocess-contribution/test/scatours/paymentprocess/PaymentProcessClientImpl.java b/sandbox/travelsample/chapter-06/payment-bpel-contribution/test/scatours/payment/client/PaymentClientImpl.java index 8d9c2f918c..06a99e4326 100644 --- a/sandbox/travelsample/chapter-06/paymentprocess-contribution/test/scatours/paymentprocess/PaymentProcessClientImpl.java +++ b/sandbox/travelsample/chapter-06/payment-bpel-contribution/test/scatours/payment/client/PaymentClientImpl.java @@ -17,22 +17,21 @@ * under the License. */ -package scatours.paymentprocess; +package scatours.payment.client; import org.osoa.sca.annotations.Reference; import org.osoa.sca.annotations.Service; -/** - * - */ -@Service(PaymentProcess.class) -public class PaymentProcessClientImpl implements PaymentProcess { +import scatours.payment.Payment; + +@Service(Payment.class) +public class PaymentClientImpl implements Payment { @Reference - protected PaymentProcess paymentProcess; + protected Payment payment; public String makePayment(String customerId, float amount) { // Delegate the external web service - return paymentProcess.makePayment(customerId, amount); + return payment.makePayment(customerId, amount); } } |