Author: slaws
Date: Wed Sep 10 07:10:20 2008
New Revision: 693847
URL: http://svn.apache.org/viewvc?rev=693847&view=rev
Log:
TUSCANY-2573 - Fix the location of the sca spring namespace. Thanks for the
patch Ram
Added:
tuscany/java/sca/samples/spring-bigbank-stockquote/src/main/java/bigbank/stockquote/server/SCAApplicationContextProvider.java
(with props)
Modified:
tuscany/java/sca/itest/spring/src/main/resources/META-INF/sca/SpringDelegationHelloWorld-context.xml
tuscany/java/sca/itest/spring/src/main/resources/META-INF/sca/SpringHelloWorld-context.xml
tuscany/java/sca/itest/validation/src/main/resources/META-INF/sca/SpringHelloWorld-context.xml
tuscany/java/sca/modules/implementation-spring/src/main/resources/META-INF/spring.handlers
tuscany/java/sca/modules/implementation-spring/src/main/resources/META-INF/spring.schemas
tuscany/java/sca/modules/implementation-spring/src/test/resources/META-INF/sca/SpringExplicitHelloWorld-context.xml
tuscany/java/sca/modules/implementation-spring/src/test/resources/META-INF/sca/SpringExplicitReference-context.xml
tuscany/java/sca/modules/implementation-spring/src/test/resources/META-INF/sca/SpringHelloWorld-context.xml
tuscany/java/sca/modules/implementation-spring/src/test/resources/META-INF/sca/SpringImplicitReference-context.xml
tuscany/java/sca/modules/implementation-spring/src/test/resources/META-INF/sca/testReferenceContext.xml
tuscany/java/sca/modules/implementation-spring/src/test/resources/META-INF/sca/testServiceContext.xml
tuscany/java/sca/modules/implementation-spring/src/test/resources/spring/META-INF/spring/SpringSCAProperty-context.xml
tuscany/java/sca/modules/implementation-spring/src/test/resources/test.xml
tuscany/java/sca/samples/simple-bigbank-spring/src/main/resources/spring-context/Account-spring-context.xml
tuscany/java/sca/samples/simple-bigbank-spring/src/main/resources/spring-context/SavingsAccount-context.xml
tuscany/java/sca/samples/simple-bigbank-spring/src/main/resources/spring-context/StockAccount/META-INF/spring/StockAccount-context.xml
tuscany/java/sca/samples/spring-bigbank-calculator/src/main/resources/META-INF/spring/CalculatorService-context.xml
tuscany/java/sca/samples/spring-bigbank-checkaccount/src/main/resources/spring-context/META-INF/spring/CheckingAccountService-context.xml
tuscany/java/sca/samples/spring-bigbank-stockquote/pom.xml
tuscany/java/sca/samples/spring-bigbank-stockquote/src/main/java/bigbank/stockquote/server/StockQuoteServer.java
tuscany/java/sca/samples/spring-bigbank-stockquote/src/main/resources/META-INF/spring/StockQuoteService-context.xml
Modified:
tuscany/java/sca/itest/spring/src/main/resources/META-INF/sca/SpringDelegationHelloWorld-context.xml
URL:
http://svn.apache.org/viewvc/tuscany/java/sca/itest/spring/src/main/resources/META-INF/sca/SpringDelegationHelloWorld-context.xml?rev=693847&r1=693846&r2=693847&view=diff
==============================================================================
---
tuscany/java/sca/itest/spring/src/main/resources/META-INF/sca/SpringDelegationHelloWorld-context.xml
(original)
+++
tuscany/java/sca/itest/spring/src/main/resources/META-INF/sca/SpringDelegationHelloWorld-context.xml
Wed Sep 10 07:10:20 2008
@@ -23,7 +23,7 @@
xmlns:sca="http://www.springframework.org/schema/sca"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
-http://www.springframework.org/schema/sca
http://www.springframework.org/schema/sca/spring-sca.xsd">
+http://www.springframework.org/schema/sca
http://www.osoa.org/xmlns/sca/1.0/spring-sca.xsd">
<bean id="delegateBean"
class="org.apache.tuscany.sca.itest.spring.TestHelloWorldBean"
lazy-init="true">
Modified:
tuscany/java/sca/itest/spring/src/main/resources/META-INF/sca/SpringHelloWorld-context.xml
URL:
http://svn.apache.org/viewvc/tuscany/java/sca/itest/spring/src/main/resources/META-INF/sca/SpringHelloWorld-context.xml?rev=693847&r1=693846&r2=693847&view=diff
==============================================================================
---
tuscany/java/sca/itest/spring/src/main/resources/META-INF/sca/SpringHelloWorld-context.xml
(original)
+++
tuscany/java/sca/itest/spring/src/main/resources/META-INF/sca/SpringHelloWorld-context.xml
Wed Sep 10 07:10:20 2008
@@ -23,7 +23,7 @@
xmlns:sca="http://www.springframework.org/schema/sca"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
-http://www.springframework.org/schema/sca
http://www.springframework.org/schema/sca/spring-sca.xsd">
+http://www.springframework.org/schema/sca
http://www.osoa.org/xmlns/sca/1.0/spring-sca.xsd">
<bean id="testBean"
class="org.apache.tuscany.sca.itest.spring.TestHelloWorldBean" lazy-init="true">
</bean>
Modified:
tuscany/java/sca/itest/validation/src/main/resources/META-INF/sca/SpringHelloWorld-context.xml
URL:
http://svn.apache.org/viewvc/tuscany/java/sca/itest/validation/src/main/resources/META-INF/sca/SpringHelloWorld-context.xml?rev=693847&r1=693846&r2=693847&view=diff
==============================================================================
---
tuscany/java/sca/itest/validation/src/main/resources/META-INF/sca/SpringHelloWorld-context.xml
(original)
+++
tuscany/java/sca/itest/validation/src/main/resources/META-INF/sca/SpringHelloWorld-context.xml
Wed Sep 10 07:10:20 2008
@@ -23,7 +23,7 @@
xmlns:sca="http://www.springframework.org/schema/sca"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
-http://www.springframework.org/schema/sca
http://www.springframework.org/schema/sca/spring-sca.xsd">
+http://www.springframework.org/schema/sca
http://www.osoa.org/xmlns/sca/1.0/spring-sca.xsd">
<bean id="testBean" class="impl.spring.TestHelloWorldBean"
lazy-init="true">
</bean>
Modified:
tuscany/java/sca/modules/implementation-spring/src/main/resources/META-INF/spring.handlers
URL:
http://svn.apache.org/viewvc/tuscany/java/sca/modules/implementation-spring/src/main/resources/META-INF/spring.handlers?rev=693847&r1=693846&r2=693847&view=diff
==============================================================================
---
tuscany/java/sca/modules/implementation-spring/src/main/resources/META-INF/spring.handlers
(original)
+++
tuscany/java/sca/modules/implementation-spring/src/main/resources/META-INF/spring.handlers
Wed Sep 10 07:10:20 2008
@@ -1,3 +1 @@
-http\://www.springframework.org/schema/sca=org.springframework.sca.config.ScaNamespaceHandler
-
-
+http\://www.springframework.org/schema/sca=org.apache.tuscany.sca.implementation.spring.ScaNamespaceHandler
Modified:
tuscany/java/sca/modules/implementation-spring/src/main/resources/META-INF/spring.schemas
URL:
http://svn.apache.org/viewvc/tuscany/java/sca/modules/implementation-spring/src/main/resources/META-INF/spring.schemas?rev=693847&r1=693846&r2=693847&view=diff
==============================================================================
---
tuscany/java/sca/modules/implementation-spring/src/main/resources/META-INF/spring.schemas
(original)
+++
tuscany/java/sca/modules/implementation-spring/src/main/resources/META-INF/spring.schemas
Wed Sep 10 07:10:20 2008
@@ -1 +1 @@
-http\://www.springframework.org/schema/sca/spring-sca.xsd=org/springframework/sca/xml/spring-sca.xsd
+http\://www.osoa.org/xmlns/sca/1.0/spring-sca.xsd=org/springframework/sca/xml/spring-sca.xsd
Modified:
tuscany/java/sca/modules/implementation-spring/src/test/resources/META-INF/sca/SpringExplicitHelloWorld-context.xml
URL:
http://svn.apache.org/viewvc/tuscany/java/sca/modules/implementation-spring/src/test/resources/META-INF/sca/SpringExplicitHelloWorld-context.xml?rev=693847&r1=693846&r2=693847&view=diff
==============================================================================
---
tuscany/java/sca/modules/implementation-spring/src/test/resources/META-INF/sca/SpringExplicitHelloWorld-context.xml
(original)
+++
tuscany/java/sca/modules/implementation-spring/src/test/resources/META-INF/sca/SpringExplicitHelloWorld-context.xml
Wed Sep 10 07:10:20 2008
@@ -25,7 +25,7 @@
xmlns:sca="http://www.springframework.org/schema/sca"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
-http://www.springframework.org/schema/sca
http://www.springframework.org/schema/sca/spring-sca.xsd">
+http://www.springframework.org/schema/sca
http://www.osoa.org/xmlns/sca/1.0/spring-sca.xsd">
<sca:service name="fooService"
type="org.apache.tuscany.sca.implementation.spring.itests.helloworld.HelloWorld"
Modified:
tuscany/java/sca/modules/implementation-spring/src/test/resources/META-INF/sca/SpringExplicitReference-context.xml
URL:
http://svn.apache.org/viewvc/tuscany/java/sca/modules/implementation-spring/src/test/resources/META-INF/sca/SpringExplicitReference-context.xml?rev=693847&r1=693846&r2=693847&view=diff
==============================================================================
---
tuscany/java/sca/modules/implementation-spring/src/test/resources/META-INF/sca/SpringExplicitReference-context.xml
(original)
+++
tuscany/java/sca/modules/implementation-spring/src/test/resources/META-INF/sca/SpringExplicitReference-context.xml
Wed Sep 10 07:10:20 2008
@@ -22,7 +22,7 @@
xmlns:sca="http://www.springframework.org/schema/sca"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
-http://www.springframework.org/schema/sca
http://www.springframework.org/schema/sca/spring-sca.xsd">
+http://www.springframework.org/schema/sca
http://www.osoa.org/xmlns/sca/1.0/spring-sca.xsd">
<bean id="testBean"
class="org.apache.tuscany.sca.implementation.spring.itests.mock.TestReferenceBean">
<property name="bean" ref="testReference"/>
Modified:
tuscany/java/sca/modules/implementation-spring/src/test/resources/META-INF/sca/SpringHelloWorld-context.xml
URL:
http://svn.apache.org/viewvc/tuscany/java/sca/modules/implementation-spring/src/test/resources/META-INF/sca/SpringHelloWorld-context.xml?rev=693847&r1=693846&r2=693847&view=diff
==============================================================================
---
tuscany/java/sca/modules/implementation-spring/src/test/resources/META-INF/sca/SpringHelloWorld-context.xml
(original)
+++
tuscany/java/sca/modules/implementation-spring/src/test/resources/META-INF/sca/SpringHelloWorld-context.xml
Wed Sep 10 07:10:20 2008
@@ -23,7 +23,7 @@
xmlns:sca="http://www.springframework.org/schema/sca"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
-http://www.springframework.org/schema/sca
http://www.springframework.org/schema/sca/spring-sca.xsd">
+http://www.springframework.org/schema/sca
http://www.osoa.org/xmlns/sca/1.0/spring-sca.xsd">
<bean id="testBean"
class="org.apache.tuscany.sca.implementation.spring.itests.mock.TestHelloWorldBean"
lazy-init="true">
</bean>
Modified:
tuscany/java/sca/modules/implementation-spring/src/test/resources/META-INF/sca/SpringImplicitReference-context.xml
URL:
http://svn.apache.org/viewvc/tuscany/java/sca/modules/implementation-spring/src/test/resources/META-INF/sca/SpringImplicitReference-context.xml?rev=693847&r1=693846&r2=693847&view=diff
==============================================================================
---
tuscany/java/sca/modules/implementation-spring/src/test/resources/META-INF/sca/SpringImplicitReference-context.xml
(original)
+++
tuscany/java/sca/modules/implementation-spring/src/test/resources/META-INF/sca/SpringImplicitReference-context.xml
Wed Sep 10 07:10:20 2008
@@ -22,7 +22,7 @@
xmlns:sca="http://www.springframework.org/schema/sca"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
-http://www.springframework.org/schema/sca
http://www.springframework.org/schema/sca/spring-sca.xsd">
+http://www.springframework.org/schema/sca
http://www.osoa.org/xmlns/sca/1.0/spring-sca.xsd">
<bean id="testBean"
class="org.apache.tuscany.sca.implementation.spring.itests.mock.TestReferenceBean">
<!-- Here is the implicit reference - a property with a ref not
satisifed within the
Modified:
tuscany/java/sca/modules/implementation-spring/src/test/resources/META-INF/sca/testReferenceContext.xml
URL:
http://svn.apache.org/viewvc/tuscany/java/sca/modules/implementation-spring/src/test/resources/META-INF/sca/testReferenceContext.xml?rev=693847&r1=693846&r2=693847&view=diff
==============================================================================
---
tuscany/java/sca/modules/implementation-spring/src/test/resources/META-INF/sca/testReferenceContext.xml
(original)
+++
tuscany/java/sca/modules/implementation-spring/src/test/resources/META-INF/sca/testReferenceContext.xml
Wed Sep 10 07:10:20 2008
@@ -22,7 +22,7 @@
xmlns:sca="http://www.springframework.org/schema/sca"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
-http://www.springframework.org/schema/sca
http://www.springframework.org/schema/sca/spring-sca.xsd">
+http://www.springframework.org/schema/sca
http://www.osoa.org/xmlns/sca/1.0/spring-sca.xsd">
<bean id="testBean"
class="org.apache.tuscany.container.spring.mock.TestBeanImpl">
<property name="bean" ref="testReference"/>
Modified:
tuscany/java/sca/modules/implementation-spring/src/test/resources/META-INF/sca/testServiceContext.xml
URL:
http://svn.apache.org/viewvc/tuscany/java/sca/modules/implementation-spring/src/test/resources/META-INF/sca/testServiceContext.xml?rev=693847&r1=693846&r2=693847&view=diff
==============================================================================
---
tuscany/java/sca/modules/implementation-spring/src/test/resources/META-INF/sca/testServiceContext.xml
(original)
+++
tuscany/java/sca/modules/implementation-spring/src/test/resources/META-INF/sca/testServiceContext.xml
Wed Sep 10 07:10:20 2008
@@ -22,7 +22,7 @@
xmlns:sca="http://www.springframework.org/schema/sca"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
-http://www.springframework.org/schema/sca
http://www.springframework.org/schema/sca/spring-sca.xsd">
+http://www.springframework.org/schema/sca
http://www.osoa.org/xmlns/sca/1.0/spring-sca.xsd">
<sca:service name="fooService"
type="org.apache.tuscany.container.spring.mock.TestBeanImpl" target="testBean"/>
Modified:
tuscany/java/sca/modules/implementation-spring/src/test/resources/spring/META-INF/spring/SpringSCAProperty-context.xml
URL:
http://svn.apache.org/viewvc/tuscany/java/sca/modules/implementation-spring/src/test/resources/spring/META-INF/spring/SpringSCAProperty-context.xml?rev=693847&r1=693846&r2=693847&view=diff
==============================================================================
---
tuscany/java/sca/modules/implementation-spring/src/test/resources/spring/META-INF/spring/SpringSCAProperty-context.xml
(original)
+++
tuscany/java/sca/modules/implementation-spring/src/test/resources/spring/META-INF/spring/SpringSCAProperty-context.xml
Wed Sep 10 07:10:20 2008
@@ -1,34 +1,34 @@
-<?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.
--->
-<!-- Application context for the SpringHelloWorld testcase -->
-<beans xmlns="http://www.springframework.org/schema/beans"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:sca="http://www.springframework.org/schema/sca"
- xsi:schemaLocation="
-http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
-http://www.springframework.org/schema/sca
http://www.springframework.org/schema/sca/spring-sca.xsd">
-
- <bean id="testBean"
class="org.apache.tuscany.sca.implementation.spring.itests.mock.TestSCAPropertyBean"
lazy-init="true">
- <property name="hello" ref="TestProperty"/>
- </bean>
-
- <sca:property id="foo" name="TestProperty" type="java.lang.String"/>
-
+<?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.
+-->
+<!-- Application context for the SpringHelloWorld testcase -->
+<beans xmlns="http://www.springframework.org/schema/beans"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:sca="http://www.springframework.org/schema/sca"
+ xsi:schemaLocation="
+http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
+http://www.springframework.org/schema/sca
http://www.osoa.org/xmlns/sca/1.0/spring-sca.xsd">
+
+ <bean id="testBean"
class="org.apache.tuscany.sca.implementation.spring.itests.mock.TestSCAPropertyBean"
lazy-init="true">
+ <property name="hello" ref="TestProperty"/>
+ </bean>
+
+ <sca:property id="foo" name="TestProperty" type="java.lang.String"/>
+
</beans>
\ No newline at end of file
Modified:
tuscany/java/sca/modules/implementation-spring/src/test/resources/test.xml
URL:
http://svn.apache.org/viewvc/tuscany/java/sca/modules/implementation-spring/src/test/resources/test.xml?rev=693847&r1=693846&r2=693847&view=diff
==============================================================================
--- tuscany/java/sca/modules/implementation-spring/src/test/resources/test.xml
(original)
+++ tuscany/java/sca/modules/implementation-spring/src/test/resources/test.xml
Wed Sep 10 07:10:20 2008
@@ -20,7 +20,7 @@
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:sca="http://www.springframework.org/schema/sca"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
-http://www.springframework.org/schema/sca
http://www.springframework.org/schema/sca/spring-sca.xsd">
+http://www.springframework.org/schema/sca
http://www.osoa.org/xmlns/sca/1.0/spring-sca.xsd">
<bean id="testBean"
class="org.apache.tuscany.sca.implementation.spring.itests.mock.TestBeanImpl" />
Modified:
tuscany/java/sca/samples/simple-bigbank-spring/src/main/resources/spring-context/Account-spring-context.xml
URL:
http://svn.apache.org/viewvc/tuscany/java/sca/samples/simple-bigbank-spring/src/main/resources/spring-context/Account-spring-context.xml?rev=693847&r1=693846&r2=693847&view=diff
==============================================================================
---
tuscany/java/sca/samples/simple-bigbank-spring/src/main/resources/spring-context/Account-spring-context.xml
(original)
+++
tuscany/java/sca/samples/simple-bigbank-spring/src/main/resources/spring-context/Account-spring-context.xml
Wed Sep 10 07:10:20 2008
@@ -1,53 +1,53 @@
-<?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.
--->
-<beans xmlns="http://www.springframework.org/schema/beans"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:sca="http://www.springframework.org/schema/sca"
- xsi:schemaLocation="
- http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
- http://www.springframework.org/schema/sca
http://www.springframework.org/schema/sca/spring-sca.xsd">
-
- <!-- <sca:service name="AccountService"
- type="bigbank.account.AccountService" target="AccountServiceBean"/> -->
-
- <bean id="AccountServiceBean" class="bigbank.account.AccountServiceImpl">
- <property name="calculatorService" ref="calculatorService"/>
- <property name="stockQuoteService" ref="stockQuoteService"/>
- <property name="checkingAccountService" ref="checkingAccountService"/>
-
- <!-- Here are some implicit references & properties - a property with
a ref not satisifed
- * within the Spring application context.
- -->
- <property name="savingsAccountService" ref="savingsAccountService"/>
- <property name="stockAccountService" ref="stockAccountService"/>
- <property name="currency" value="EURO"/>
- </bean>
-
- <sca:reference name="checkingAccountService"
type="bigbank.account.checking.CheckingAccountService"/>
-
- <sca:reference name="calculatorService"
type="bigbank.calculator.CalculatorService"/>
-
- <sca:reference name="stockQuoteService"
type="bigbank.stockquote.StockQuoteService"/>
-
- <!-- <sca:reference name="savingsAccountServiceRef"
type="bigbank.account.savings.SavingsAccountService"/>-->
-
- <!-- <sca:reference name="stockAccountServiceRef"
type="bigbank.account.stock.StockAccountService"/>-->
-
-</beans>
+<?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.
+-->
+<beans xmlns="http://www.springframework.org/schema/beans"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:sca="http://www.springframework.org/schema/sca"
+ xsi:schemaLocation="
+ http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
+ http://www.springframework.org/schema/sca
http://www.osoa.org/xmlns/sca/1.0/spring-sca.xsd">
+
+ <!-- <sca:service name="AccountService"
+ type="bigbank.account.AccountService" target="AccountServiceBean"/> -->
+
+ <bean id="AccountServiceBean" class="bigbank.account.AccountServiceImpl">
+ <property name="calculatorService" ref="calculatorService"/>
+ <property name="stockQuoteService" ref="stockQuoteService"/>
+ <property name="checkingAccountService" ref="checkingAccountService"/>
+
+ <!-- Here are some implicit references & properties - a property with
a ref not satisifed
+ * within the Spring application context.
+ -->
+ <property name="savingsAccountService" ref="savingsAccountService"/>
+ <property name="stockAccountService" ref="stockAccountService"/>
+ <property name="currency" value="EURO"/>
+ </bean>
+
+ <sca:reference name="checkingAccountService"
type="bigbank.account.checking.CheckingAccountService"/>
+
+ <sca:reference name="calculatorService"
type="bigbank.calculator.CalculatorService"/>
+
+ <sca:reference name="stockQuoteService"
type="bigbank.stockquote.StockQuoteService"/>
+
+ <!-- <sca:reference name="savingsAccountServiceRef"
type="bigbank.account.savings.SavingsAccountService"/>-->
+
+ <!-- <sca:reference name="stockAccountServiceRef"
type="bigbank.account.stock.StockAccountService"/>-->
+
+</beans>
Modified:
tuscany/java/sca/samples/simple-bigbank-spring/src/main/resources/spring-context/SavingsAccount-context.xml
URL:
http://svn.apache.org/viewvc/tuscany/java/sca/samples/simple-bigbank-spring/src/main/resources/spring-context/SavingsAccount-context.xml?rev=693847&r1=693846&r2=693847&view=diff
==============================================================================
---
tuscany/java/sca/samples/simple-bigbank-spring/src/main/resources/spring-context/SavingsAccount-context.xml
(original)
+++
tuscany/java/sca/samples/simple-bigbank-spring/src/main/resources/spring-context/SavingsAccount-context.xml
Wed Sep 10 07:10:20 2008
@@ -1,33 +1,33 @@
-<?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.
--->
-<beans xmlns="http://www.springframework.org/schema/beans"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:sca="http://www.springframework.org/schema/sca"
- xsi:schemaLocation="
- http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
- http://www.springframework.org/schema/sca
http://www.springframework.org/schema/sca/spring-sca.xsd">
-
- <sca:service name="SavingsAccountService"
- type="bigbank.account.savings.SavingsAccountService"
target="SavingsAccountServiceBean"/>
-
- <bean id="SavingsAccountServiceBean"
class="bigbank.account.savings.SavingsAccountServiceImpl">
- </bean>
-
-</beans>
+<?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.
+-->
+<beans xmlns="http://www.springframework.org/schema/beans"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:sca="http://www.springframework.org/schema/sca"
+ xsi:schemaLocation="
+ http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
+ http://www.springframework.org/schema/sca
http://www.osoa.org/xmlns/sca/1.0/spring-sca.xsd">
+
+ <sca:service name="SavingsAccountService"
+ type="bigbank.account.savings.SavingsAccountService"
target="SavingsAccountServiceBean"/>
+
+ <bean id="SavingsAccountServiceBean"
class="bigbank.account.savings.SavingsAccountServiceImpl">
+ </bean>
+
+</beans>
Modified:
tuscany/java/sca/samples/simple-bigbank-spring/src/main/resources/spring-context/StockAccount/META-INF/spring/StockAccount-context.xml
URL:
http://svn.apache.org/viewvc/tuscany/java/sca/samples/simple-bigbank-spring/src/main/resources/spring-context/StockAccount/META-INF/spring/StockAccount-context.xml?rev=693847&r1=693846&r2=693847&view=diff
==============================================================================
---
tuscany/java/sca/samples/simple-bigbank-spring/src/main/resources/spring-context/StockAccount/META-INF/spring/StockAccount-context.xml
(original)
+++
tuscany/java/sca/samples/simple-bigbank-spring/src/main/resources/spring-context/StockAccount/META-INF/spring/StockAccount-context.xml
Wed Sep 10 07:10:20 2008
@@ -1,33 +1,33 @@
-<?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.
--->
-<beans xmlns="http://www.springframework.org/schema/beans"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:sca="http://www.springframework.org/schema/sca"
- xsi:schemaLocation="
- http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
- http://www.springframework.org/schema/sca
http://www.springframework.org/schema/sca/spring-sca.xsd">
-
- <sca:service name="StockAccountService"
- type="bigbank.account.stock.StockAccountService"
target="StockAccountServiceBean"/>
-
- <bean id="StockAccountServiceBean"
class="bigbank.account.stock.StockAccountServiceImpl">
- </bean>
-
+<?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.
+-->
+<beans xmlns="http://www.springframework.org/schema/beans"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:sca="http://www.springframework.org/schema/sca"
+ xsi:schemaLocation="
+ http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
+ http://www.springframework.org/schema/sca
http://www.osoa.org/xmlns/sca/1.0/spring-sca.xsd">
+
+ <sca:service name="StockAccountService"
+ type="bigbank.account.stock.StockAccountService"
target="StockAccountServiceBean"/>
+
+ <bean id="StockAccountServiceBean"
class="bigbank.account.stock.StockAccountServiceImpl">
+ </bean>
+
</beans>
\ No newline at end of file
Modified:
tuscany/java/sca/samples/spring-bigbank-calculator/src/main/resources/META-INF/spring/CalculatorService-context.xml
URL:
http://svn.apache.org/viewvc/tuscany/java/sca/samples/spring-bigbank-calculator/src/main/resources/META-INF/spring/CalculatorService-context.xml?rev=693847&r1=693846&r2=693847&view=diff
==============================================================================
---
tuscany/java/sca/samples/spring-bigbank-calculator/src/main/resources/META-INF/spring/CalculatorService-context.xml
(original)
+++
tuscany/java/sca/samples/spring-bigbank-calculator/src/main/resources/META-INF/spring/CalculatorService-context.xml
Wed Sep 10 07:10:20 2008
@@ -1,45 +1,45 @@
-<?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.
--->
-<beans xmlns="http://www.springframework.org/schema/beans"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:sca="http://www.springframework.org/schema/sca"
- xsi:schemaLocation="
- http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
- http://www.springframework.org/schema/sca
http://www.springframework.org/schema/sca/spring-sca.xsd">
-
- <sca:service name="CalculatorService"
- type="bigbank.calculator.CalculatorService"
target="CalculatorServiceBean"/>
-
- <bean id="CalculatorServiceBean"
class="bigbank.calculator.CalculatorServiceImpl">
- <!-- Here are some implicit references - a property with a ref not
satisifed within the
- * Spring application context.
- -->
- <property name="addService" ref="addService"/>
- <property name="subtractService" ref="subtractService"/>
- <property name="multiplyService" ref="multiplyService"/>
- <property name="divideService" ref="divideService"/>
- </bean>
-
- <sca:reference name="addService" type="bigbank.calculator.AddService"/>
- <sca:reference name="subtractService"
type="bigbank.calculator.SubtractService"/>
- <sca:reference name="multiplyService"
type="bigbank.calculator.MultiplyService"/>
- <sca:reference name="divideService"
type="bigbank.calculator.DivideService"/>
-
-</beans>
+<?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.
+-->
+<beans xmlns="http://www.springframework.org/schema/beans"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:sca="http://www.springframework.org/schema/sca"
+ xsi:schemaLocation="
+ http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
+ http://www.springframework.org/schema/sca
http://www.osoa.org/xmlns/sca/1.0/spring-sca.xsd">
+
+ <sca:service name="CalculatorService"
+ type="bigbank.calculator.CalculatorService"
target="CalculatorServiceBean"/>
+
+ <bean id="CalculatorServiceBean"
class="bigbank.calculator.CalculatorServiceImpl">
+ <!-- Here are some implicit references - a property with a ref not
satisifed within the
+ * Spring application context.
+ -->
+ <property name="addService" ref="addService"/>
+ <property name="subtractService" ref="subtractService"/>
+ <property name="multiplyService" ref="multiplyService"/>
+ <property name="divideService" ref="divideService"/>
+ </bean>
+
+ <sca:reference name="addService" type="bigbank.calculator.AddService"/>
+ <sca:reference name="subtractService"
type="bigbank.calculator.SubtractService"/>
+ <sca:reference name="multiplyService"
type="bigbank.calculator.MultiplyService"/>
+ <sca:reference name="divideService"
type="bigbank.calculator.DivideService"/>
+
+</beans>
Modified:
tuscany/java/sca/samples/spring-bigbank-checkaccount/src/main/resources/spring-context/META-INF/spring/CheckingAccountService-context.xml
URL:
http://svn.apache.org/viewvc/tuscany/java/sca/samples/spring-bigbank-checkaccount/src/main/resources/spring-context/META-INF/spring/CheckingAccountService-context.xml?rev=693847&r1=693846&r2=693847&view=diff
==============================================================================
---
tuscany/java/sca/samples/spring-bigbank-checkaccount/src/main/resources/spring-context/META-INF/spring/CheckingAccountService-context.xml
(original)
+++
tuscany/java/sca/samples/spring-bigbank-checkaccount/src/main/resources/spring-context/META-INF/spring/CheckingAccountService-context.xml
Wed Sep 10 07:10:20 2008
@@ -22,7 +22,7 @@
xmlns:sca="http://www.springframework.org/schema/sca"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
- http://www.springframework.org/schema/sca
http://www.springframework.org/schema/sca/spring-sca.xsd">
+ http://www.springframework.org/schema/sca
http://www.osoa.org/xmlns/sca/1.0/spring-sca.xsd">
<sca:service name="CheckingsAccountService"
type="bigbank.account.checking.CheckingAccountService"
target="CheckingAccountServiceBean"/>
Modified: tuscany/java/sca/samples/spring-bigbank-stockquote/pom.xml
URL:
http://svn.apache.org/viewvc/tuscany/java/sca/samples/spring-bigbank-stockquote/pom.xml?rev=693847&r1=693846&r2=693847&view=diff
==============================================================================
--- tuscany/java/sca/samples/spring-bigbank-stockquote/pom.xml (original)
+++ tuscany/java/sca/samples/spring-bigbank-stockquote/pom.xml Wed Sep 10
07:10:20 2008
@@ -83,6 +83,25 @@
<version>4.2</version>
<scope>test</scope>
</dependency>
+
+ <!-- Spring dependencies... -->
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-core</artifactId>
+ <version>2.0.8</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-beans</artifactId>
+ <version>2.0.8</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-context</artifactId>
+ <version>2.0.8</version>
+ </dependency>
</dependencies>
Added:
tuscany/java/sca/samples/spring-bigbank-stockquote/src/main/java/bigbank/stockquote/server/SCAApplicationContextProvider.java
URL:
http://svn.apache.org/viewvc/tuscany/java/sca/samples/spring-bigbank-stockquote/src/main/java/bigbank/stockquote/server/SCAApplicationContextProvider.java?rev=693847&view=auto
==============================================================================
---
tuscany/java/sca/samples/spring-bigbank-stockquote/src/main/java/bigbank/stockquote/server/SCAApplicationContextProvider.java
(added)
+++
tuscany/java/sca/samples/spring-bigbank-stockquote/src/main/java/bigbank/stockquote/server/SCAApplicationContextProvider.java
Wed Sep 10 07:10:20 2008
@@ -0,0 +1,19 @@
+package bigbank.stockquote.server;
+
+import org.springframework.beans.BeansException;
+import org.springframework.context.ApplicationContext;
+import org.springframework.context.ApplicationContextAware;
+
+public class SCAApplicationContextProvider implements ApplicationContextAware {
+
+ private static ApplicationContext ctx;
+
+ public void setApplicationContext(ApplicationContext appContext) throws
BeansException {
+ // Wiring the ApplicationContext into a static method
+ ctx = appContext;
+ }
+
+ public static ApplicationContext getApplicationContext() {
+ return ctx;
+ }
+}
Propchange:
tuscany/java/sca/samples/spring-bigbank-stockquote/src/main/java/bigbank/stockquote/server/SCAApplicationContextProvider.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
tuscany/java/sca/samples/spring-bigbank-stockquote/src/main/java/bigbank/stockquote/server/SCAApplicationContextProvider.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Modified:
tuscany/java/sca/samples/spring-bigbank-stockquote/src/main/java/bigbank/stockquote/server/StockQuoteServer.java
URL:
http://svn.apache.org/viewvc/tuscany/java/sca/samples/spring-bigbank-stockquote/src/main/java/bigbank/stockquote/server/StockQuoteServer.java?rev=693847&r1=693846&r2=693847&view=diff
==============================================================================
---
tuscany/java/sca/samples/spring-bigbank-stockquote/src/main/java/bigbank/stockquote/server/StockQuoteServer.java
(original)
+++
tuscany/java/sca/samples/spring-bigbank-stockquote/src/main/java/bigbank/stockquote/server/StockQuoteServer.java
Wed Sep 10 07:10:20 2008
@@ -20,6 +20,7 @@
import org.apache.tuscany.sca.node.SCANode;
import org.apache.tuscany.sca.node.SCANodeFactory;
+import org.springframework.context.ApplicationContext;
/**
* This server program shows how to bootstrap SCA from a simple J2SE program
@@ -34,12 +35,16 @@
SCANodeFactory factory = SCANodeFactory.newInstance();
SCANode node =
factory.createSCANodeFromClassLoader("StockQuote.composite",
StockQuoteServer.class.getClassLoader());
node.start();
-
+
+ // Method 1: To access the Spring Application Context instance
+ ApplicationContext ctx =
SCAApplicationContextProvider.getApplicationContext();
+ if (ctx.containsBean("StockQuoteServiceBean"))
+ System.out.println("StockQuoteServiceBean is now available for
use...");
+
System.out.println("Press Enter to Exit...");
System.in.read();
node.stop();
System.out.println("Bye");
}
-
}
Modified:
tuscany/java/sca/samples/spring-bigbank-stockquote/src/main/resources/META-INF/spring/StockQuoteService-context.xml
URL:
http://svn.apache.org/viewvc/tuscany/java/sca/samples/spring-bigbank-stockquote/src/main/resources/META-INF/spring/StockQuoteService-context.xml?rev=693847&r1=693846&r2=693847&view=diff
==============================================================================
---
tuscany/java/sca/samples/spring-bigbank-stockquote/src/main/resources/META-INF/spring/StockQuoteService-context.xml
(original)
+++
tuscany/java/sca/samples/spring-bigbank-stockquote/src/main/resources/META-INF/spring/StockQuoteService-context.xml
Wed Sep 10 07:10:20 2008
@@ -1,33 +1,36 @@
-<?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.
--->
-<beans xmlns="http://www.springframework.org/schema/beans"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:sca="http://www.springframework.org/schema/sca"
- xsi:schemaLocation="
- http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
- http://www.springframework.org/schema/sca
http://www.springframework.org/schema/sca/spring-sca.xsd">
-
- <sca:service name="StockQuoteService"
- type="bigbank.stockquote.StockQuoteService"
target="StockQuoteServiceBean"/>
-
- <bean id="StockQuoteServiceBean" class="bigbank.stockquote.StockQuoteImpl">
- </bean>
-
-</beans>
+<?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.
+-->
+<beans xmlns="http://www.springframework.org/schema/beans"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:sca="http://www.springframework.org/schema/sca"
+ xsi:schemaLocation="
+ http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
+ http://www.springframework.org/schema/sca
http://www.osoa.org/xmlns/sca/1.0/spring-sca.xsd">
+
+ <sca:service name="StockQuoteService"
+ type="bigbank.stockquote.StockQuoteService"
target="StockQuoteServiceBean"/>
+
+ <bean id="StockQuoteServiceBean" class="bigbank.stockquote.StockQuoteImpl">
+ </bean>
+
+ <bean id="applicationContextProvider"
class="bigbank.stockquote.server.SCAApplicationContextProvider">
+ </bean>
+
+</beans>
\ No newline at end of file