diff --git a/factory-method/README.md b/factory-method/README.md index 7432a3cb5..ab3739ac3 100644 --- a/factory-method/README.md +++ b/factory-method/README.md @@ -69,7 +69,11 @@ Use the Factory Method pattern when * a class wants its subclasses to specify the objects it creates * classes delegate responsibility to one of several helper subclasses, and you want to localize the knowledge of which helper subclass is the delegate -## Known uses +## Presentations + +* [Factory Method Pattern](etc/presentation.html) + +## Real world examples * [java.util.Calendar](http://docs.oracle.com/javase/8/docs/api/java/util/Calendar.html#getInstance--) * [java.util.ResourceBundle](http://docs.oracle.com/javase/8/docs/api/java/util/ResourceBundle.html#getBundle-java.lang.String-) diff --git a/factory-method/etc/diagram1.png b/factory-method/etc/diagram1.png new file mode 100644 index 000000000..fa325edf0 Binary files /dev/null and b/factory-method/etc/diagram1.png differ diff --git a/factory-method/etc/presentation.html b/factory-method/etc/presentation.html new file mode 100644 index 000000000..a78057836 --- /dev/null +++ b/factory-method/etc/presentation.html @@ -0,0 +1,185 @@ + + + + + Design Patterns - Factory Method Presentation + + + + + + + + + \ No newline at end of file