Abstract factory is also called as factory of factories. Abstract Factory patterns work around a super-factory which creates other factories. In Abstract Factory pattern an interface is responsible for creating a factory of related objects without explicitly specifying their classes. Each generated factory can give the objects as per the Factory pattern.
When application needs a level of indirection that abstracts the creation of families of related or dependent objects without directly specifying their concrete classes. The "factory" object has the responsibility for providing creation services for the entire platform family.
This repository contains working project code used in video Course by Packt Publication with title "Learn Design Patterns with Java " authored by "Aseem Jain".
https://www.packtpub.com/application-development/learn-design-patterns-java-9-video
Profile: http://in.linkedin.com/in/premaseem
https://premaseem.wordpress.com/category/computers/design-patterns/
https://www.facebook.com/DesignPatternGuru/
- This code base will work on Java 9 and above versions.
diagrams
folders carry UML diagrams.pattern
folder has code of primary example.patternBonus
folder has code of secondary or bonus example.