summaryrefslogtreecommitdiffstats
path: root/java/sca/samples/simple-bigbank-spring/src/main/resources/SavingsAccount.composite
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2008-08-07 11:44:48 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2008-08-07 11:44:48 +0000
commit8a41b4571548114f748355dda35b70f84a5fed93 (patch)
tree9dc688b03ba000101afdb22102d8694fba1c908f /java/sca/samples/simple-bigbank-spring/src/main/resources/SavingsAccount.composite
parentade8ca15cccf924bbc9cda184e5c27ebf38fe438 (diff)
Apply patch from Ramkumar Ramalingam for TUSCANY-2517: Extending simple-bigbank-spring sample - Step 1
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@683591 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--java/sca/samples/simple-bigbank-spring/src/main/resources/SavingsAccount.composite (renamed from java/sca/samples/simple-bigbank-spring/src/main/resources/StockQuote.composite)62
1 files changed, 32 insertions, 30 deletions
diff --git a/java/sca/samples/simple-bigbank-spring/src/main/resources/StockQuote.composite b/java/sca/samples/simple-bigbank-spring/src/main/resources/SavingsAccount.composite
index 26bdc59075..4bb2ce61ef 100644
--- a/java/sca/samples/simple-bigbank-spring/src/main/resources/StockQuote.composite
+++ b/java/sca/samples/simple-bigbank-spring/src/main/resources/SavingsAccount.composite
@@ -1,30 +1,32 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
--->
-<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
- targetNamespace="http://stockquote"
- name="StockQuote">
-
- <service name="StockQuoteService" promote="StockQuoteServiceComponent"/>
-
- <component name="StockQuoteServiceComponent">
- <implementation.java class="bigbank.stockquote.StockQuoteImpl" />
- </component>
-
-</composite>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
+ targetNamespace="http://bigbank/savings"
+ xmlns:bbsv="http://bigbank/savings"
+ xmlns:sca="http://www.osoa.org/xmlns/sca/1.0"
+ name="SavingsAccountDept">
+
+ <service name="SavingsAccountService" promote="SavingsAccountServiceComponent"/>
+
+ <component name="SavingsAccountServiceComponent">
+ <implementation.spring location="spring-context/SavingsAccount-context.xml"/>
+ </component>
+
+</composite>