- 博客(2)
- 收藏
- 关注
原创 Spring 5 Core Technologies Leaning:(三)prototype bean
问题:在创建原型模型的Bean时,如果创建的Bean依赖于单例的Bean,那么在创建不同的prototype bean时会不会创建多个对应的singleton bean?<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmln...
2018-04-21 15:53:27 88
原创 Spring 5 Core Technologies Leaning:(二)singleton bean
参考:https://docs.spring.io/spring/docs/5.0.5.RELEASE/spring-framework-reference/core.html#beans-factory-scopes对于spring中单例模型bean的生命周期:<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http:/...
2018-04-21 14:44:18 83
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人