spring系列之@Configuration注解、@Bean注解以及自动扫描注解@componentScan

主要讲解: @configuration的做用及使用 @bean的做用及使用 @componentScan和@configuration的的结合使用 一、@Configuration标注在类上,至关于把该类做为spring的xml配置文件中的<beans>,做用为:配置spring容器(应用上下文)java package com.test.spring.support.configuration
相关文章
相关标签/搜索