摘要: @Configuration 和 @Bean @Configuration 用于定义配置类,可替换 xml 配置文件,被注解的类内部包含有一个或多个被 @Bean 注解的方法,这些方法将会被AnnotationConfigApplicationContext 或 AnnotationConfigWe 阅读全文
posted @ 2021-03-16 23:07 phoenix307 阅读(781) 评论(0) 推荐(0)