摘要:
Spring对bean的管理细节: 1.创建bean的三种方式: 1)使用默认构造函数创建。在spring的配置文件中bean标签,配以id和class属性之后,且没有其他属性和标签时,采用的就是默认构造函数创建bean对象,此时如果类中没有默认构造函... 阅读全文
posted @ 2019-10-29 19:36
小帅学java
阅读(2)
评论(0)
推荐(0)
摘要:
工厂模式的配置文件和BeanFactory类: 例子: accountService=com.itheima.service.iml.AccountServiceImlaccountDao=com.itheima.dao.AccountDaoImpl p... 阅读全文
posted @ 2019-10-29 12:58
小帅学java
阅读(8)
评论(0)
推荐(0)

浙公网安备 33010602011771号