Loading tutorials
@Configuration and @Bean classes, run a basic Spring Boot application, and use application.properties. It covers how Spring Boot builds its list of auto-configuration candidates. Conditions are covered in the next chapters.3 min read@Configuration and @Bean classes, and that you can run a basic Spring Boot application. Every auto-configuration decision in Spring Boot rests on the mechanism described here.2 min read@Configuration and @Bean classes, have run a basic Spring Boot application, and have read the earlier chapters on how auto-configuration classes are discovered and how @Conditional works.2 min read@ConditionalOnMissingBean and @ConditionalOnBean. It assumes you know Spring dependency injection, @Configuration and @Bean classes, and the @Conditional basics from the previous chapters.3 min read@Configuration and @Bean classes, and application.properties. It also assumes you have seen @ConditionalOnClass and @ConditionalOnMissingBean in earlier chapters. Here you will learn how an auto-configuration reads the environment 3 min read@Configuration and @Bean, and that you have seen @ConditionalOnClass and @ConditionalOnBean. Here you will learn when Spring checks each condition. That timing explains why a condition can match in one class and fail in another.3 min read@Configuration and @Bean, and that you have read the earlier chapters on @ConditionalOnBean and how AutoConfiguration.imports lists candidates.2 min readapplication.properties, @Configuration and @Bean classes, and the GreetingAutoConfiguration shape from earlier chapters. Here you will let users configure your auto-configuration through a typed class instead of scattered @Value strings.2 min read@Configuration and @Bean, can run a basic Spring Boot application, and have used application.properties. It also assumes you've seen how @ConditionalOnClass, @ConditionalOnMissingBean and @ConditionalOnProperty behave. Here you combine them into a small libr2 min readapplication.properties, and know what @Configuration and @Bean do. You should also know the @Conditional family from the earlier chapters. Here you will learn to read the conditions evaluation report, which shows what Spring Bo3 min read--debug conditions report and know how @ConditionalOnMissingBean makes an auto-configuration back off. You should also be comfortable with application.properties.2 min read@ConditionalOnClass, @ConditionalOnProperty and @ConditionalOnMissingBean. It also assumes you know JUnit 5 and basic AssertJ assertions. The class under test is the GreetingAutoConfiguration from the previous chapter.3 min read