diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2008-08-10 15:15:28 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2008-08-10 15:15:28 +0000 |
commit | 569c99b45bb0b3e6408c3af066110f4212da0688 (patch) | |
tree | 3a9479e87ab058ccbecdf8b5a2e5e0417404a1df /sandbox/travelsample/ui-contribution/scatours.composite | |
parent | f21ed5242ed195c2bfc082765c9a5ec95a26348c (diff) |
Separate the search into a travel component so that it is independent of the trip booking
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@684518 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | sandbox/travelsample/ui-contribution/scatours.composite | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/sandbox/travelsample/ui-contribution/scatours.composite b/sandbox/travelsample/ui-contribution/scatours.composite index 76fdc2c0d6..fc28b0a884 100644 --- a/sandbox/travelsample/ui-contribution/scatours.composite +++ b/sandbox/travelsample/ui-contribution/scatours.composite @@ -37,23 +37,23 @@ <reference name="car" target="CarComponent"> <tuscany:binding.jsonrpc/> </reference> - <reference name="tripSearch" target="TripComponent/TripSearch"> + <reference name="travelSearch" target="TravelComponent/TravelSearch"> <tuscany:binding.jsonrpc/> </reference> - <reference name="tripContents" target="TripComponent/TripContents"> + <reference name="travelBooking" target="TravelComponent/TravelBooking"> <tuscany:binding.jsonrpc/> </reference> </component> - <component name="TripComponent"> - <implementation.java class="scatours.trip.TripImpl"/> - <service name="TripSearch"> + <component name="TravelComponent"> + <implementation.java class="scatours.travel.TravelImpl"/> + <service name="TravelSearch"> <tuscany:binding.jsonrpc/> </service> - <service name="TripContents"> + <service name="TravelBooking"> <tuscany:binding.jsonrpc/> </service> - <reference name="hotelSearch" target="HotelComponent"> + <reference name="hotelSearch" target="HotelComponent/Search"> <binding.sca/> </reference> <reference name="flightSearch" target="FlightComponent"> @@ -64,8 +64,15 @@ </reference> <reference name="currencyConverter" target="CurrencyConverterComponent"> </reference> + <reference name="trip" target="TripComponent"> + </reference> <property name="quoteCurrencyCode">GBP</property> </component> + <component name="TripComponent"> + <implementation.java class="scatours.trip.TripImpl"/> + <service name="Trip"> + </service> + </component> <component name="HotelComponent"> <implementation.java class="scatours.hotel.HotelImpl"/> |