diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2008-08-19 16:26:34 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2008-08-19 16:26:34 +0000 |
commit | 0d45e3ed781fd306d0ee24995648a74666d1bec6 (patch) | |
tree | 1196682b7871d515b813314d927d22df226d2e73 /java/sca/samples/simple-bigbank-spring/src/main/resources/BigBank.composite | |
parent | eb0c44c3a43aa1f5dd58487d2b0ed95197992c46 (diff) |
TUSCANY-2550 - Adding more bindings to the spring bigbank sample. Convert the sample from SCADomain to Node APIs. Thanks for the patch Ram
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@687088 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/samples/simple-bigbank-spring/src/main/resources/BigBank.composite')
-rw-r--r-- | java/sca/samples/simple-bigbank-spring/src/main/resources/BigBank.composite | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/java/sca/samples/simple-bigbank-spring/src/main/resources/BigBank.composite b/java/sca/samples/simple-bigbank-spring/src/main/resources/BigBank.composite index a7624235d8..ea2dbc7e1c 100644 --- a/java/sca/samples/simple-bigbank-spring/src/main/resources/BigBank.composite +++ b/java/sca/samples/simple-bigbank-spring/src/main/resources/BigBank.composite @@ -33,6 +33,8 @@ <service name="AccountService"> <interface.java interface="bigbank.account.AccountService"/> + <tuscany:binding.jsonrpc uri="http://localhost:8085/SpringAccountJSONService"/> + <binding.sca/> </service> <reference name="savingsAccountService" target="SavingsAccountServiceComponent"/> @@ -66,5 +68,21 @@ <component name="StockAccountServiceComponent"> <implementation.composite name="bbst:StockAccountDept"/> </component> + + <component name="AccountFeedComponent"> + <implementation.java class="bigbank.account.feed.AccountFeedImpl"/> + <service name="Collection"> + <tuscany:binding.rss uri="http://localhost:8085/rss"/> + <tuscany:binding.atom uri="http://localhost:8085/atom"/> + </service> + <reference name="accountService" target="AccountServiceComponent"/> + </component> + + <component name="WebResourceComponent"> + <tuscany:implementation.resource location="web"/> + <service name="Resource"> + <tuscany:binding.http uri="http://localhost:8085/"/> + </service> + </component> </composite> |