patterns-discussion AT lists.siebelschool.illinois.edu
Subject: General talk about software patterns
List archive
- From: "Vernekar, Pralhad (IndSys, SalemVA)" <Pralhad.Vernekar AT indsys.ge.com>
- To: "'Pablo Schor'" <pablo.schor AT lobruno.com.ar>, livingmetaphor AT yahoogroups.com, patterns-discussion AT cs.uiuc.edu
- Subject: RE: [patterns-discussion] Abstract Factory vs. Factory Method
- Date: Thu, 30 Oct 2003 10:04:45 -0500
- List-archive: <http://mail.cs.uiuc.edu/pipermail/patterns-discussion/>
- List-id: General talk about software patterns <patterns-discussion.cs.uiuc.edu>
Hi
AbstractFactory is a collection of Factory Methods.
For
example,
class
WindowFrameworkCreator
{
Component getWindow();
Component getDialog();
Component getScrollBar();
}
class
WindoFrameworkCreator is an AbstractFactory and getXXX methods are Factory
methods.
Another example of Factory Method
class
RDBMSConnectorFactory
{
RDBMSConnector getConnector ()
{
// return either Oracle or SQL Server
Connector - by reading conf file
}
}
regards
Pralhad
|
- [patterns-discussion] Abstract Factory vs. Factory Method, Pablo Schor, 10/30/2003
- RE: [patterns-discussion] Abstract Factory vs. Factory Method, Bruce Trask, 10/30/2003
- Re: [patterns-discussion] Abstract Factory vs. Factory Method, Douglas C. Schmidt, 10/31/2003
- <Possible follow-up(s)>
- RE: [patterns-discussion] Abstract Factory vs. Factory Method, Russell Dodd, 10/30/2003
- Re: [patterns-discussion] Abstract Factory vs. Factory Method, Eduardo Franco, 10/30/2003
- RE: [patterns-discussion] Abstract Factory vs. Factory Method, Vernekar, Pralhad (IndSys, SalemVA), 10/30/2003
- RE: [patterns-discussion] Abstract Factory vs. Factory Method, Mike Beedle, 10/30/2003
- [patterns-discussion] Patterns Case Studies, pg . bhat, 10/30/2003
- Re: [patterns-discussion] Patterns Case Studies, Yves Roy, 10/30/2003
- [patterns-discussion] Patterns Case Studies, pg . bhat, 10/30/2003
- RE: [patterns-discussion] Abstract Factory vs. Factory Method, Mike Beedle, 10/30/2003
- RE: [patterns-discussion] Abstract Factory vs. Factory Method, Bruce Trask, 10/30/2003
Archive powered by MHonArc 2.6.16.