2019年11月18日
摘要: //bean.xml配置文件 <?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLS 阅读全文
posted @ 2019-11-18 23:55 小猪_佩奇 阅读(326) 评论(0) 推荐(0) 编辑
摘要: //配置文件bean.properties(注意书写顺序) accountService=com.itheima.service.impl.AccountServiceImplaccountDao=com.itheima.dao.impl.AccountDaoImpl package com.hop 阅读全文
posted @ 2019-11-18 21:51 小猪_佩奇 阅读(1027) 评论(0) 推荐(0) 编辑
摘要: //一般需要两个条件: 1、设置配置文件bean.properties // 2、使用反射机制,获取代理对象的实现类 //配置文件bean.properties(注意不要加“;”号) accountDao=com.hope.dao.impl.AccountDaoImplaccountService= 阅读全文
posted @ 2019-11-18 16:18 小猪_佩奇 阅读(324) 评论(0) 推荐(0) 编辑