• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Clarification on AbstractFactoryMethod and FactoryMethod

 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I google about *AbstractFactoryMethod and FactoryMethod*. I get the many links, but I cant understand thoroughly about that concepts/difference.

1.FAQ entry

can any one show me light on this ? /
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
any light on this?
 
Campbell Ritchie
Sheriff
Posts: 48382
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Seetharaman Venkatasamy wrote:any light on this?
Read this.
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok.sorry Campbell .

and here is my understading

Factory Method: [contains new Instance]which create an Object . client know about what type of Object to be instantiate .

AbstractFactoryMethod:Abstract Factory method is a Factory,which dont have the Implementation, Subclasses instantiate the type of Object Using FactoryMethod[every related objects needs to have the Factory Method] .
and third class(client) use Abstract Factory to instantiate family realeted dependent objects , and the client dont have the idea of what type of object it is going to create.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic