• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Abstract Factory Pattern?

 
Imed Ahras
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys:
i am a bit not clear about with the Abstract Factory Pattern,
It said that the Client interfaces only with the Product interfaces and The Abstract Factory class;
How Is that Gonna Work?
If the Abstract Fatory has 10 implementing concrete class; and How the client is gonna get an instance of The Factory, since it is an abstract, or through a static method, and give it one of the concrete Object(from those concrete classes).
-----
Imed
 
jagadish babu
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Abstract Factory Pattern is to provide an interface for creating families of related Objects without specifying concrete classes"-GOF87
For easy understanding visit http://www.coderanch.com/t/150837/java-Architect-SCEA/certification/Design-Patterns
for all creational patterns.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic