SpringBoot注解
accttodo 12/31/2023 SpringBoot
目录
参考:
# SpringBoot注解
# @AutoConfigureAfter (opens new window)
作用:指示该配置类应该在指定的其他配置类之后自动配置。是一种用于控制自动配置的顺序的机制。
# @ConfigurationProperties (opens new window)
作用:将prefix属性指定的前缀配置项的值绑定到JavaBean上
# @EnableConfigurationProperties (opens new window)
作用:根据导入的配置类信息进一步构造需要Bean信息