IntelliJ Java IDE
The moose likes OO, Patterns, UML and Refactoring and the fly likes Naming the pattern Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Reply Bookmark "Naming the pattern" Watch "Naming the pattern" New topic
Author

Naming the pattern

Luna Bora
Ranch Hand

Joined: Jul 02, 2001
Posts: 34
Hi, I have the following situation. There is an interface named DBInterface, two classes extend from it. There is another class named ModeFactory which has a method which returns one of two classes depending on the parameters passed to it. I have a doubt whether this is called Abstract Factory pattern or simply Factory pattern. Thanks for your help.
 
 
subject: Naming the pattern
 
Threads others viewed
What to choose, daoFactory or a SpringUtil from ZK?
Abstract Factory Pattern
Factory pattern(s)
Problem applying factory method pattern
confused with Design patterns
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture