spring运用的设计模式

1.代理模式(典型的aop)

2.工厂模式(beanFactory)

3.观察者模式(ApplicationContextEvent && ApplicationContextListener)

4.原型模式(scope中的prototype)

5单例模式(singleton默认都是单例的)

其他的以后补充

原文地址:https://www.cnblogs.com/yzjT-mac/p/6374250.html