removed xml config files
This commit is contained in:
parent
ac2ce9636c
commit
5a8ec66b5d
@ -1,17 +0,0 @@
|
||||
<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="student" class="com.baeldung.model.Student">
|
||||
<constructor-arg value="1" />
|
||||
<constructor-arg value="John" />
|
||||
<constructor-arg ref="college" />
|
||||
</bean>
|
||||
|
||||
<bean id="college" class="com.baeldung.model.College">
|
||||
<constructor-arg value="1" />
|
||||
<constructor-arg value="New York" />
|
||||
</bean>
|
||||
|
||||
</beans>
|
@ -1,19 +0,0 @@
|
||||
<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="college" class="com.baeldung.model.College">
|
||||
<property name="id" value="2" />
|
||||
<property name="name" value="Pittsburgh" />
|
||||
</bean>
|
||||
|
||||
<bean id="student" class="com.baeldung.model.Student">
|
||||
<property name="id" value="2" />
|
||||
<property name="name" value="Tom" />
|
||||
<property name="college">
|
||||
<ref bean="college" />
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
</beans>
|
Loading…
x
Reference in New Issue
Block a user