装饰器模式源码

This commit is contained in:
2018-10-08 16:00:50 +08:00
parent 9ead169b90
commit 86d9409ae2
3 changed files with 22 additions and 0 deletions

6
.idea/thriftCompiler.xml generated Normal file
View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ThriftCompiler">
<compilers />
</component>
</project>

11
pom.xml
View File

@@ -81,6 +81,12 @@
<version>${org.springframework.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context-support</artifactId>
<version>${org.springframework.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-oxm</artifactId>
@@ -98,6 +104,11 @@
<artifactId>spring-tx</artifactId>
<version>${org.springframework.version}</version>
</dependency>
<dependency>
<groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-core</artifactId>
<version>8.5.32</version>
</dependency>
</dependencies>

View File

@@ -1,6 +1,11 @@
package top.fjy8018.designpattern.pattern.structural.decorator.after;
/**
* Servlet源码{@link javax.servlet.http.HttpServletRequestWrapper}
* JDK源码IO类{@link java.io.BufferedReader} {@link java.io.BufferedInputStream}
* Spring源码:{@link org.springframework.cache.transaction.TransactionAwareCacheDecorator}
* mybatis源码{@link org.apache.ibatis.cache.decorators.LruCache}
*
* @author F嘉阳
* @date 2018-09-27 17:04
*/