| Factory Object |
Article Index for Factory |
Website Links For Factory |
Information AboutFactory Object |
| CATEGORIES ABOUT FACTORY OBJECT | |
| software design patterns | |
|
A factory object typically has a Method for every kind of object it is capable of creating. These methods optionally accept Parameter s defining how the object is created, and then return the created object. Factory objects are used in situations where getting hold of an object of a particular kind is a more complex process than simply creating a new object. The factory object might decide the created object's Class (if applicable) dynamically, return it from an Object Pool , do complex configuration on the object, or other things. SEE ALSO |
|
|