Spring Boot 最核心的 3 个注解详解

Spring Boot 最大的特色是无需 XML 配置文件,能自动扫描包路径装载并注入对象,并能作到根据 classpath 下的 jar 包自动配置web 一、@Configuration:ref---org.springframework.context.annotation.Configuration   替代applicationContext.xmlredis      1.1@Bean
相关文章
相关标签/搜索