spring 中经常使用的设计模式

1、 Spring 中常见的设计模式设计模式

工厂模式 : BeanFactoryapp

装饰器模式: BeanWrapperspa

代理模式: AopProxy设计

单例模式: ApplicationContext3d

委派模式: DispatcherServlet代理

策略模式: HandlerMappingblog

适配器模式: HandlerApdapterio

模板方法模式: JdbcTemplate模板

观察者模式: ContextLoaderListenerList

2、Spring 的四大模块及典型的设计模式

  一、Spring IOC   工厂模式、单例模式、装饰器模式

  二、Spring AOP  代理模式、观察者模式

  三、Spring MVC  委派模式、适配器模式

  四、Spring JDBC 模板方法模式

2、Spring 中常见设计模式分类

相关文章
相关标签/搜索