Dedian |
|
|||
-- 關注搜索引擎的開發 |
日歷
統計
導航常用鏈接留言簿(8)隨筆分類(45)
隨筆檔案(82)
文章檔案(2)Java Spaces搜索積分與排名
最新評論
閱讀排行榜評論排行榜 |
The main purpose of Factory method is to create objects. There will be
one product instant creation function (Factory Method) in the abstract
class(Creator), which can be overrided by its subclasses(Concrete
Creator) and thus products can be specified in subclasses.
reference: http://gsraj.tripod.com/design/creational/factory/factory.html http://en.wikipedia.org/wiki/Factory_method_pattern http://www.developer.com/java/other/article.php/626001 http://www.javacamp.org/designPattern/factory.html
|
![]() |
|
Copyright © Dedian | Powered by: 博客園 模板提供:滬江博客 |