Spring:@Configuration 使用

  编写不易,转载请注明(http://shihlei.iteye.com/blog/2405771)!   一 @Configuration 概述  @Bean: 描述@Bean注解的方法生成的Bean 被Spring容器管理, 其中value属性可以指定Bean在Spring容器中的名字。 @Configuration:描述@Configuration注解的类,Spring容器扫描@Bean注
相关文章
相关标签/搜索