Skip to content

Commit 0421247

Browse files
committed
Edit application.xml
1 parent b99214c commit 0421247

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

Spring_part_2/src/main/resources/application.xml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,20 @@
77
http://www.springframework.org/schema/context
88
http://www.springframework.org/schema/context/spring-context-4.0.xsd">
99

10+
<!--
11+
<bean class="org.springframework.context.annotation.CommonAnnotationBeanPostProcessor"/>
12+
заменяем на:
13+
-->
1014
<context:annotation-config/>
15+
1116
<context:property-placeholder location="classpath:application.properties"/>
1217

1318
<!-- Прописываем наши пост-процессоры -->
1419
<bean class="spring.oldboy.bean_post_processor.InjectBeanPostProcessor"/>
1520
<bean class="spring.oldboy.bean_post_processor.MyOwnTransactionBeanPostProcessor"/>
1621
<bean class="spring.oldboy.bean_post_processor.AuditingBeanPostProcessor"/>
1722

18-
<!--
19-
<bean class="org.springframework.context.annotation.CommonAnnotationBeanPostProcessor"/>
20-
-->
23+
2124

2225
<bean class="spring.oldboy.bean_factory_pp.LogBeanFactoryPostProcessor"/>
2326
<bean class="spring.oldboy.bean_factory_pp.VerifyPropertyBeanFactoryPostProcessor"/>

0 commit comments

Comments
 (0)