Created
April 15, 2021 12:13
-
-
Save xinyii/69e449ae48ef3938cc3b68fbe6391cff to your computer and use it in GitHub Desktop.
[Spring Auto Configuration] By `META-INF/spring.factories` #spring
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Configuration | |
@ComponentScan("com.example") | |
public class ExampleAutoConfiguration { | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\ | |
com.example.config.ExampleAutoConfiguration |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment