summaryrefslogtreecommitdiffstats
path: root/sandbox/travelsample/shared-contributions/payment-java-contribution/src/test/resources/payment.composite
diff options
context:
space:
mode:
authorrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-02-28 00:19:32 +0000
committerrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-02-28 00:19:32 +0000
commitc0820807441e7eada782a13741fbe2a273554a32 (patch)
treef690e0e75d5ba53b11e7dd06aa5d787507622052 /sandbox/travelsample/shared-contributions/payment-java-contribution/src/test/resources/payment.composite
parent572f63e1887a382d33bea739eebad977bce8ffaa (diff)
Add a fine-grained payment assembly for java
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@748759 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--sandbox/travelsample/shared-contributions/payment-java-contribution/src/test/resources/payment.composite12
1 files changed, 12 insertions, 0 deletions
diff --git a/sandbox/travelsample/shared-contributions/payment-java-contribution/src/test/resources/payment.composite b/sandbox/travelsample/shared-contributions/payment-java-contribution/src/test/resources/payment.composite
index 90665e86e0..00ea330e79 100644
--- a/sandbox/travelsample/shared-contributions/payment-java-contribution/src/test/resources/payment.composite
+++ b/sandbox/travelsample/shared-contributions/payment-java-contribution/src/test/resources/payment.composite
@@ -25,10 +25,22 @@
<component name="PaymentComponent">
<implementation.java class="payment.PaymentImpl" />
+ <reference name="customerRegistry" target="CustomerRegistryComponent"/>
<reference name="creditCardPayment" target="CreditCardPaymentComponent"/>
+ <reference name="emailGateway" target="EmailGatewayComponent"/>
+ <property name="transactionFeeRate">0.02</property>
</component>
+ <component name="CustomerRegistryComponent">
+ <implementation.java class="scatours.customer.CustomerRegistryImpl" />
+ </component>
+
+ <component name="EmailGatewayComponent">
+ <implementation.java class="scatours.emailgateway.EmailGatewayImpl" />
+ </component>
+
<component name="CreditCardPaymentComponent">
<implementation.java class="payment.creditcard.CreditCardPaymentImpl" />
</component>
+
</composite> \ No newline at end of file