SpringComponent now supports adding properties as beans instead of
[utils] / system / spring / src / test / resources / test.org.wamblee.system.springWithProperties2.xml
diff --git a/system/spring/src/test/resources/test.org.wamblee.system.springWithProperties2.xml b/system/spring/src/test/resources/test.org.wamblee.system.springWithProperties2.xml
new file mode 100644 (file)
index 0000000..1546261
--- /dev/null
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://www.springframework.org/schema/beans
+    http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
+
+    <bean id="helloService" class="org.wamblee.system.spring.HelloService2">
+        <constructor-arg>
+            <ref bean="properties"/>
+        </constructor-arg>
+    </bean>
+
+</beans>