patterns-discussion AT lists.siebelschool.illinois.edu
Subject: General talk about software patterns
List archive
- From: "Mike Beedle" <beedlem AT e-architects.com>
- To: "'Vernekar, Pralhad \(IndSys, SalemVA\)'" <Pralhad.Vernekar AT indsys.ge.com>, "'Pablo Schor'" <pablo.schor AT lobruno.com.ar>, <patterns-discussion AT cs.uiuc.edu>
- Subject: RE: [patterns-discussion] Abstract Factory vs. Factory Method
- Date: Thu, 30 Oct 2003 10:48:28 -0600
- Importance: Normal
- List-archive: <http://mail.cs.uiuc.edu/pipermail/patterns-discussion/>
- List-id: General talk about software patterns <patterns-discussion.cs.uiuc.edu>
- Organization: e-Architects Inc.
Title: Message
AbstractFactory is typically implemented through
FactoryMethods but just remember that it can
also
be implemented with other virtual constructor methods like Prototype as
well,
-
Mike
-----Original Message-----
From: patterns-discussion-admin AT cs.uiuc.edu [mailto:patterns-discussion-admin AT cs.uiuc.edu] On Behalf Of Vernekar, Pralhad (IndSys, SalemVA) Sent: Thursday, October 30, 2003 9:05 AM To: 'Pablo Schor'; livingmetaphor AT yahoogroups.com; patterns-discussion AT cs.uiuc.edu Subject: RE: [patterns-discussion] Abstract Factory vs. Factory Method 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.