-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathSpring-context.xml
More file actions
16 lines (13 loc) · 1.31 KB
/
Spring-context.xml
File metadata and controls
16 lines (13 loc) · 1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:beans="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:lang="http://www.springframework.org/schema/lang" xmlns:p="http://www.springframework.org/schema/p"
xmlns:util="http://www.springframework.org/schema/util"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://www.springframework.org/schema/lang http://www.springframework.org/schema/lang/spring-lang-2.5.xsd
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.5.xsd">
<bean id="sms" class="studentmanagement.StudentManagementSystem"/>
<bean id="student1" class="studentmanagement.Student" p:index="104567" p:firstName="John" p:lastName="Nash" p:address="Princetown,New Jersey" p:level="3" p:gpa="3.98" />
<bean id="student2" class="studentmanagement.Student" p:index="108542" p:firstName="Dan" p:lastName="Carter" p:address="Wellington,New Zealnad" p:level="1" p:gpa="2.7" />
<bean id="student3" class="studentmanagement.Student" p:index="520114" p:firstName="Thomas" p:lastName="Beckett" p:address="California,West Coast" p:level="4" p:gpa="3.4" />
</beans>