待测试 Spring的Bean在类名上注解@ContextConfiguration(locations = {"/spring-context.xml"})

来源:互联网 发布:淘宝延长收货 花呗 编辑:程序博客网 时间:2024/09/21 06:33
@Service
@Transactional(readOnly = true)
@ContextConfiguration(locations = {"/spring-context.xml"})
public class SysSvrService extends CrudService<SysSvrDao, SysSvr> {
0 0
原创粉丝点击