# spring.factories

DevFeed: [spring.factories](<https://devfeed.tech/articles/spring-factories-27301.md>)

Original publisher: [Read original article](<https://blog.pchudzik.com/201903/spring-factories/>)

Published: 2019-03-28T00:00:00Z

Content type: tutorial

Language: en

Sources: [Paweł Chudzik](<https://devfeed.tech/sources/pawe-chudzik.md>)

Topics: [Spring Boot](<https://devfeed.tech/topics/spring-boot.md>), [Spring Framework](<https://devfeed.tech/topics/spring-framework.md>), [configuration](<https://devfeed.tech/topics/configuration.md>), [modules](<https://devfeed.tech/topics/modules.md>)

Tags: [configuration](<https://devfeed.tech/tags/configuration.md>), [module](<https://devfeed.tech/tags/module.md>), [spring](<https://devfeed.tech/tags/spring.md>), [spring-boot](<https://devfeed.tech/tags/spring-boot.md>), [spring-framework](<https://devfeed.tech/tags/spring-framework.md>)

## AI overview

This developer article explains how Spring Boot uses the spring.factories file and Spring Framework mechanisms to discover module-provided configuration and customize the application context during initialization. It also describes how classpath scanning and conditional configuration support Spring Boot's modular design.

## Source excerpt

Have you ever wondered how it's possible that spring-boot is able to pick up whatever you have on the classpath and configure application context to your needs based on some conventions and bit of black magic? In this post, I'm going to dig into spring.factories file on which most of the spring-boot power is based. Read more