-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapplicationContext.xml
24 lines (15 loc) · 979 Bytes
/
applicationContext.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?xml version="1.0" encoding="UTF-8"?>
<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.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context.xsd">
<!-- Add entry to enable component-scanning (Spring java annotations) -->
<context:component-scan base-package="com.gnguyen92.springdemoannotations" />
<!-- Load values.properties file for properties injections using java annotations -->
<context:property-placeholder location="classpath:values.properties" />
<!-- Load skillLevel.properties file for properties injection into CurrentSkillLevel -->
<context:property-placeholder location="classpath:skillLevel.properties" />
</beans>