摘要:
spring--bean装配(三) bean的限定使用 package com.spring.study.primary.bean; public interface Food { void description(); } @Qualifier限定名称 package com.spring.stu 阅读全文
posted @ 2020-07-21 10:37
Dave-Mo
阅读(54)
评论(0)
推荐(0)
摘要:
Spring--bean装配(二) 多环境测试 使用H2内嵌数据库+Pure Spring测试 数据准备 # schema.sql create table bean_test( id int identity, name varchar(255) ); # data.sql insert into 阅读全文
posted @ 2020-07-21 03:47
Dave-Mo
阅读(86)
评论(0)
推荐(0)
摘要:
Spring--bean装配 装配方式: xml显式装配java显式装配隐式bean返现机制和自动装配 推荐注解形式: package com.spring.study.bean.soundsystem; import org.springframework.context.annotation.C 阅读全文
posted @ 2020-07-21 00:29
Dave-Mo
阅读(54)
评论(0)
推荐(0)

浙公网安备 33010602011771号