The text of this article is not in this database — only its details are. Read it on the old site: Learn Design Pattern - Abstract Factory Pattern
5 Comments
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.
The text of this article is not in this database — only its details are. Read it on the old site: Learn Design Pattern - Abstract Factory Pattern
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.
Gowtham RajamanickamPosted Apr 15, 2016, 1:22 PM
Thanks for sharing
Sukesh MarlaPosted Oct 13, 2012, 11:52 PM
CustomerFactory is not static, the method is made static.its just for simplicity,not required to create object.
Sai SherlekarPosted Oct 13, 2012, 3:30 PM
why CustomerFactory class is static?? can we achieve without static?
Sukesh MarlaPosted Sep 17, 2012, 10:27 AM
Understand your problem statement, Think like, how your application is going to be extended. This is the very rarely used pattern. In Factory Pattern you abstracted initialization logic of concrete classes with the help of factories and here Factory Initialization is abstracted.
Gaurav GuptaPosted Sep 17, 2012, 12:18 AM
How can I analyze when it is being in used?