摘要: 1.工厂设计模式:spring使用工厂模式通过BeanFactory,ApplicationContext创建bean对象。 2.代理设计模式:spring AOP功能的实现。 3.单例设计模式:spring中的Bean默认都是单例模式的。 4.模板方法模式:spring中的jdbcTemplate 阅读全文
posted @ 2021-03-30 16:57 码码呼呼 阅读(57) 评论(0) 推荐(0)
摘要: 转发自:MrBoringBigFish https://blog.csdn.net/qq_36522306/article/details/80246760/ 阅读全文
posted @ 2021-03-30 16:41 码码呼呼 阅读(61) 评论(0) 推荐(0)