一、 Spring 中常見的設計模式
工廠模式 : BeanFactory
裝飾器模式: BeanWrapper
代理模式: AopProxy
單例模式: ApplicationContext
委派模式: DispatcherServlet
策略模式: HandlerMapping
適配器模式: HandlerApdapter
模板方法模式: JdbcTemplate
觀察者模式: ContextLoaderListener
二、Spring 的四大模塊及典型的設計模式
1、Spring IOC 工廠模式、單例模式、裝飾器模式
2、Spring AOP 代理模式、觀察者模式
3、Spring MVC 委派模式、適配器模式
4、Spring JDBC 模板方法模式
二、Spring 中常見設計模式分類