---
title: "装饰器模式和代理模式的区别"
author: "AutomaticThoughts"
date: "2012-08-02T10:21:15Z"
tags: []
categories: ["企业架构"]
slug: "untitled"
draft: false
lastmod: "2012-08-02T10:31:55Z"
id: 1616771
url: "https://automaticthoughts.iteye.com/blog/1616771"
---

[http://blog.csdn.net/book\_arrow/article/details/6834345](http://blog.csdn.net/book_arrow/article/details/6834345)

 

代理模式应用：AOP

装饰模式应用：BufferedReader\\BufferedWriter