summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/samples/helloworld-spring/src/main/resources/helloworld-context.xml
diff options
context:
space:
mode:
authorrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2010-07-28 21:01:41 +0000
committerrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2010-07-28 21:01:41 +0000
commit9dafe3e2c4d2476cb3ea7789e3f3063418340059 (patch)
treefa543a6cc40ea6ec3ad43ee7f7bf0478685db344 /sca-java-2.x/trunk/samples/helloworld-spring/src/main/resources/helloworld-context.xml
parent83d18d1113e87315181b6d9f1daba6146ad12cc9 (diff)
Allow Spring WebApplicationContext to be used by Tuscany
Bring up a sample web application which demonstrates the integration between Spring and Tuscany git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@980218 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/samples/helloworld-spring/src/main/resources/helloworld-context.xml')
-rw-r--r--sca-java-2.x/trunk/samples/helloworld-spring/src/main/resources/helloworld-context.xml4
1 files changed, 3 insertions, 1 deletions
diff --git a/sca-java-2.x/trunk/samples/helloworld-spring/src/main/resources/helloworld-context.xml b/sca-java-2.x/trunk/samples/helloworld-spring/src/main/resources/helloworld-context.xml
index 89b2cfb6f5..b5fba07d66 100644
--- a/sca-java-2.x/trunk/samples/helloworld-spring/src/main/resources/helloworld-context.xml
+++ b/sca-java-2.x/trunk/samples/helloworld-spring/src/main/resources/helloworld-context.xml
@@ -24,7 +24,9 @@
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="sample.HelloworldImpl" lazy-init="true">
+ <bean id="testBean" class="sample.HelloworldImpl">
</bean>
+
+ <sca:reference name="dateService" type="sample.DateService"/>
</beans> \ No newline at end of file