29 lines
1.1 KiB
XML
29 lines
1.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!--Old Beans Config-->
|
|
|
|
<!--<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="stu" class="demo.student">-->
|
|
<!-- <property name="name" value="Puranjay"> </property>-->
|
|
<!-- <constructor-arg value="I am a constructor" type="String"> </constructor-arg>-->
|
|
<!-- </bean>-->
|
|
<!--</beans>-->
|
|
|
|
<!--New Beans Config-->
|
|
|
|
<beans xmlns="http://www.springframework.org/schema/beans"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xmlns:context="http://www.springframework.org/schema/context"
|
|
xsi:schemaLocation="http://www.springframework.org/schema/beans
|
|
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
|
|
http://www.springframework.org/schema/context
|
|
http://www.springframework.org/schema/context/spring-context-3.0.xsd">
|
|
|
|
<context:component-scan base-package="demo"/>
|
|
|
|
</beans>
|