Skip to content

Commit 97c5c13

Browse files
committed
Updated README.md
1 parent 7ff8802 commit 97c5c13

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,19 @@ Presentation Tier patterns are the top-most level of the application, this is co
5858

5959
* [Intercepting Filter](#intercepting-filter)
6060

61+
## <a name="intercepting-filter">Intercepting Filter</a> [&#8593;](#list-of-design-patterns)
62+
**Intent:** Provide an interfa
63+
64+
![alt text](https://github.com/iluwatar/java-design-patterns/blob/master/abstract-factory/etc/abstract-factory_1.png "Abstract Factory")
65+
66+
**Applicability:** Use the Intercepting Filter pattern when
67+
* Used when system uses pre-processing or post-processing requests
68+
* a family of related product objects is designed to be used together, and you need to enforce this constraint
69+
* you want to provide a class library of products, and you want to reveal just their interfaces, not their implementations
70+
71+
**Real world examples:**
72+
* [javax.xml.parsers.DocumentBuilderFactory](http://docs.oracle.com/javase/8/docs/api/javax/xml/parsers/DocumentBuilderFactory.html)
73+
6174
## <a name="abstract-factory">Abstract Factory</a> [&#8593;](#list-of-design-patterns)
6275
**Intent:** Provide an interface for creating families of related or dependent objects without specifying their concrete classes.
6376

0 commit comments

Comments
 (0)