diff options
Diffstat (limited to 'sca-java-2.x/contrib/samples/stock-comet/src/main/webapp/WEB-INF/web.composite')
-rw-r--r-- | sca-java-2.x/contrib/samples/stock-comet/src/main/webapp/WEB-INF/web.composite | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/sca-java-2.x/contrib/samples/stock-comet/src/main/webapp/WEB-INF/web.composite b/sca-java-2.x/contrib/samples/stock-comet/src/main/webapp/WEB-INF/web.composite index 5a1d2bb21b..05b2ddd0d7 100644 --- a/sca-java-2.x/contrib/samples/stock-comet/src/main/webapp/WEB-INF/web.composite +++ b/sca-java-2.x/contrib/samples/stock-comet/src/main/webapp/WEB-INF/web.composite @@ -22,10 +22,22 @@ targetNamespace="http://samples" name="Stock"> - <component name="test"> - <implementation.java class="org.apache.tuscany.sca.sample.comet.StockServiceImpl"/> - <service name="StockService"> - <interface.java interface="org.apache.tuscany.sca.sample.comet.StockService"/> + <component name="c1"> + <implementation.java class="org.apache.tuscany.sca.sample.comet.TemperatureHumidityServiceImpl"/> + <service name="TemperatureService"> + <interface.java interface="org.apache.tuscany.sca.sample.comet.TemperatureService"/> + <tuscany:binding.comet/> + </service> + <service name="HumidityService"> + <interface.java interface="org.apache.tuscany.sca.sample.comet.HumidityService"/> + <tuscany:binding.comet/> + </service> + </component> + + <component name="c2"> + <implementation.java class="org.apache.tuscany.sca.sample.comet.PrecipitationServiceImpl"/> + <service name="PrecipitationService"> + <interface.java interface="org.apache.tuscany.sca.sample.comet.PrecipitationService"/> <tuscany:binding.comet/> </service> </component> |