Spring Boot Auto Configuration | Example

Java Guides
Java Guides
15.8 هزار بار بازدید - 3 سال پیش - In this video, let's understand
In this video, let's understand how spring boot auto configuration works internally.

Table of Contents:
1. Intro ( 00:00)
2. What is Spring Boot Auto-configuration ( 1:45 )
3. Why do we need Spring Boot Auto Configuration? (2:35)
4. Spring Boot Auto Configuration - theory (5:18)
5. Spring Boot Auto-Configuration in action ( 6:55)
6. Where is Spring Boot Auto Configuration implemented? (16:00)


#SpringBoot #JavaGuides
Spring Boot Auto-configuration:
Spring Boot auto-configuration attempts to automatically configure your Spring application based on the jar dependencies that you have added.

- All auto-configuration logic is implemented in spring-boot-autoconfigure.jar.
- @ConditionalOnClass: This configuration is enabled only when these classes are available in the classpath.
- @ConditionalOnMissingBean: This bean is configured only if there is no other bean configured with the same name.
3 سال پیش در تاریخ 1400/04/04 منتشر شده است.
15,816 بـار بازدید شده
... بیشتر