自动配置类
原文:https://docs.spring.io/spring-boot/appendix/auto-configuration-classes/index.html (Spring Boot 4.2.0)
本附录包含 Spring Boot 提供的所有自动配置类的详细信息,并链接到文档和源代码。
请记得查看应用中的条件报告以了解更多关于哪些特性被启用的细节。可以通过 --debug 或 -Ddebug 启动应用,或者在 Actuator 应用中使用 conditions 端点。
本附录按模块组织,每个模块页面列出该模块提供的自动配置类及其对应的配置属性前缀。主要模块包括:
spring-boot-activemq、spring-boot-actuator-autoconfigure、spring-boot-amqp、spring-boot-artemis、spring-boot-autoconfigurespring-boot-batch、spring-boot-cache、spring-boot-cassandra、spring-boot-couchbasespring-boot-data-cassandra、spring-boot-data-commons、spring-boot-data-couchbase、spring-boot-data-elasticsearch、spring-boot-data-jdbc、spring-boot-data-jpa、spring-boot-data-ldap、spring-boot-data-mongodb、spring-boot-data-neo4j、spring-boot-data-r2dbc、spring-boot-data-redis、spring-boot-data-restspring-boot-devtools、spring-boot-elasticsearch、spring-boot-flyway、spring-boot-freemarker、spring-boot-graphql、spring-boot-groovy-templates、spring-boot-grpc-client、spring-boot-grpc-server、spring-boot-gson、spring-boot-h2console、spring-boot-hateoas、spring-boot-hazelcast、spring-boot-hibernatespring-boot-http-client、spring-boot-http-codec、spring-boot-http-converter、spring-boot-integration、spring-boot-jackson、spring-boot-jdbc、spring-boot-jersey、spring-boot-jetty、spring-boot-jms、spring-boot-jooq、spring-boot-kafkaspring-boot-liquibase、spring-boot-mail、spring-boot-micrometer-metrics、spring-boot-micrometer-observation、spring-boot-micrometer-tracingspring-boot-mongodb、spring-boot-mustache、spring-boot-neo4j、spring-boot-netty、spring-boot-persistence、spring-boot-pulsar、spring-boot-quartz、spring-boot-r2dbc、spring-boot-rabbitmqspring-boot-security、spring-boot-session、spring-boot-testcontainers、spring-boot-thymeleaf、spring-boot-tomcat、spring-boot-transaction、spring-boot-validationspring-boot-webclient、spring-boot-webflux、spring-boot-webmvc、spring-boot-webservices、spring-boot-websocket、spring-boot-zipkin
每个模块页面列出了该模块中所有自动配置类的完整类名和对应属性前缀。