-
Notifications
You must be signed in to change notification settings - Fork 0
/
springCoreAnnotationsIOCAppContext.xml
30 lines (21 loc) · 1.19 KB
/
springCoreAnnotationsIOCAppContext.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?xml version="1.0" encoding="UTF-8"?>
<!-- 7. Spring Core Annotations: Used to demo the concepts in
learning.spring.core.annotations.ioc package -->
<beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xmlns="http://www.springframework.org/schema/beans"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context
https://www.springframework.org/schema/context/spring-context.xsd">
<!-- Add a logger config to see logging messages. - For more detailed logs,
set values to "FINEST" - For info on logging levels, see: http://www.vogella.com/tutorials/Logging/article.html -->
<bean id="myLoggerConfig"
class="learning.spring.logging.MyXMLLoggerConfig"
init-method="initLogger">
<property name="rootLoggerLevel" value="FINE"/>
<property name="printedLoggerLevel" value="FINE"/>
</bean>
<!-- add entry to enable component scanning -->
<context:component-scan base-package="learning.spring.core.annotations.ioc"/>
</beans>