diff options
Diffstat (limited to '')
-rw-r--r-- | sandbox/travelsample/contributions/fullapp-ui-contribution/src/main/resources/scatours.composite | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/sandbox/travelsample/contributions/fullapp-ui-contribution/src/main/resources/scatours.composite b/sandbox/travelsample/contributions/fullapp-ui-contribution/src/main/resources/scatours.composite index 2a877cff01..3e03a2deb4 100644 --- a/sandbox/travelsample/contributions/fullapp-ui-contribution/src/main/resources/scatours.composite +++ b/sandbox/travelsample/contributions/fullapp-ui-contribution/src/main/resources/scatours.composite @@ -37,7 +37,7 @@ </reference> <reference name="scaToursCart" target="SCAToursComponent/SCAToursCart"> <tuscany:binding.jsonrpc/> - </reference> + </reference> </component> <component name="SCAToursComponent"> @@ -81,6 +81,10 @@ <property name="quoteCurrencyCode">GBP</property> </component> + <component name="CurrencyConverterComponent"> + <implementation.java class="scatours.currencyconverter.CurrencyConverterImpl"/> + </component> + <component name="TripBookingComponent"> <implementation.java class="scatours.tripbooking.TripBookingImpl"/> <service name="TripBooking"/> @@ -132,19 +136,18 @@ <service name="Book"/> </component> - <component name="CurrencyConverterComponent"> - <implementation.java class="scatours.currencyconverter.CurrencyConverterImpl"/> - <service name="CurrencyConverter"> - </service> - </component> - <component name="ShoppingCartComponent"> <implementation.java class="scatours.shoppingcart.ShoppingCartImpl"/> - <service name="ShoppingCart"> - </service> + <service name="ShoppingCart"/> + <reference name="cartStore" target="CartStoreComponent/CartStore"/> <reference name="payment"> <binding.ws uri="http://localhost:8081/Payment" /> </reference> - </component> + </component> + + <component name="CartStoreComponent"> + <implementation.java class="scatours.shoppingcart.CartStoreImpl"/> + <service name="CartStore"/> + </component> </composite> |