diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2009-05-31 13:07:26 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2009-05-31 13:07:26 +0000 |
commit | f1891559c61043146be106bdec11a56d59e8b050 (patch) | |
tree | 9ee501a5bde240b5a4ad1d9301b49e4fe0f681e4 /sandbox/travelsample/contributions/fullapp-ui-contribution/src/main | |
parent | a9ea1ca799531d693b07ab21001f869e2aa40204 (diff) |
Move conversational behaviour into the care store component to make the front end simpler and allow removal of the SCA tours component if required. Also make payments work in the full app. Ad some more features to calendar and hotel to demonstrate interaction patterns
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@780423 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sandbox/travelsample/contributions/fullapp-ui-contribution/src/main')
-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> |