Skip to content

Commit 6ecd289

Browse files
committed
Part 25: update ReadMe.md
1 parent 25dae3a commit 6ecd289

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Spring_part_25/ReadMe.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ ________________________________________________________________________________
131131
}
132132

133133
Либо мы можем использовать Spring Dependency Management, как и в основном проекте, так же см. описание варианта
134-
конфигурации в [DOC/HandMade_SB_Starter/BuildingSpringBootStarter.txt](https://github.com/JcoderPaul/Spring_Framework_Lessons/blob/master/Spring_part_25/DOC/HandMade_SB_Starter/BuildingSpringBootStarter.txt)
134+
конфигурации в [DOC/HandMade_SB_Starter/BuildingSpringBootStarter.md](https://github.com/JcoderPaul/Spring_Framework_Lessons/blob/master/Spring_part_25/DOC/HandMade_SB_Starter/BuildingSpringBootStarter.md)
135135

136136
У нашего отдельного модуля свой [src](https://github.com/JcoderPaul/Spring_Framework_Lessons/tree/master/Spring_part_25/myfirst-logging-spring-boot-starter/src) пакет в который мы перенесем нашу [АОП логику](https://github.com/JcoderPaul/Spring_Framework_Lessons/tree/master/Spring_part_25/myfirst-logging-spring-boot-starter/src/main/java/spring/oldboy/logging/aop) из прошлого проекта, чтобы выделить в
137137
отдельный стартер.
@@ -174,7 +174,7 @@ ________________________________________________________________________________
174174
и в [@ConditionalOnProperty](https://docs.spring.io/spring-boot/docs/current/api/org/springframework/boot/autoconfigure/condition/ConditionalOnProperty.html).
175175

176176
- **Шаг 4.** - Нам необходимо как-то просканировать LoggingAutoConfiguration.java, чтобы увидеть аннотацию @Configuration (чтобы Spring
177-
приложение увидело эту аннотацию и поместило класс и его bean-ы в контекст) см. [DOC/HandMade_SB_Starter/BuildingSpringBootStarter.txt](https://github.com/JcoderPaul/Spring_Framework_Lessons/blob/master/Spring_part_25/DOC/HandMade_SB_Starter/BuildingSpringBootStarter.txt)
177+
приложение увидело эту аннотацию и поместило класс и его bean-ы в контекст) см. [DOC/HandMade_SB_Starter/BuildingSpringBootStarter.md](https://github.com/JcoderPaul/Spring_Framework_Lessons/blob/master/Spring_part_25/DOC/HandMade_SB_Starter/BuildingSpringBootStarter.md)
178178
Для этого мы в папке 'resources' создаем папку '[META-INF](https://github.com/JcoderPaul/Spring_Framework_Lessons/tree/master/Spring_part_25/myfirst-logging-spring-boot-starter/src/main/resources/META-INF)' и добавляем в нее [spring.factories](https://github.com/JcoderPaul/Spring_Framework_Lessons/blob/master/Spring_part_25/myfirst-logging-spring-boot-starter/src/main/resources/META-INF/spring.factories) (с содержимым):
179179

180180
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\

0 commit comments

Comments
 (0)