Thursday, September 13, 2012
Factory Design Pattern
http://www.oodesign.com/factory-pattern.html
http://www.javaworld.com.tw/jute/post/view?bid=44&id=24993&sty=1&tpg=1&age=0
So, different factory will produce different product with same product interface.
The factory instance need to return the correct product instance.
But in the end, client will control factory or product?
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment