summaryrefslogtreecommitdiff
path: root/spring-framework/05-simple-gui/src/main/resources/META-INF/spring/applicationContext.xml
diff options
context:
space:
mode:
authorKamal Wickramanayake <kamal@inbox.lk>2026-04-25 21:53:33 +0530
committerKamal Wickramanayake <kamal@inbox.lk>2026-04-25 21:53:33 +0530
commit4afcff940551079617e8f4116e52bb0ef9df7fcc (patch)
treecbaed6a2a53c7d032bfafaa38b94e4fc607f3e76 /spring-framework/05-simple-gui/src/main/resources/META-INF/spring/applicationContext.xml
parent7b08f1155e1cb8bf263c3570eeb119970407a037 (diff)
Added Spring Framework sample code
Diffstat (limited to 'spring-framework/05-simple-gui/src/main/resources/META-INF/spring/applicationContext.xml')
-rw-r--r--spring-framework/05-simple-gui/src/main/resources/META-INF/spring/applicationContext.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/spring-framework/05-simple-gui/src/main/resources/META-INF/spring/applicationContext.xml b/spring-framework/05-simple-gui/src/main/resources/META-INF/spring/applicationContext.xml
new file mode 100644
index 0000000..4d7e736
--- /dev/null
+++ b/spring-framework/05-simple-gui/src/main/resources/META-INF/spring/applicationContext.xml
@@ -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.xsd">
+
+ <bean id="mathsBean" class="com.example.spring.logic.MathsImpl">
+ </bean>
+
+ <bean class="com.example.spring.ui.MyAppFrame">
+ <property name="maths" ref="mathsBean"></property>
+ </bean>
+
+</beans>