Creational patterns

Creational patterns prescribe the way that objects are created. These patterns are used when a decision must be made at the time a class is instantiated. Typically, the details of the classes that are instantiated — what exactly they are, how, and when they are created — are encapsulated by an abstract superclass and hidden from the client class, which knows only about the abstract class or the interface it implements. The specific type of the concrete class is typically unknown to the client class.


  • Abstract Factory: Creates an instance of several families of classes

  • Builder: Separates object construction from its representation

  • Factory Method: Creates an instance of several derived classes

  • Object Pool: Avoid expensive acquisition and release of resources by recycling objects that are no longer in use

  • Prototype: A fully initialized instance to be copied or cloned

  • Singleton: A class of which only a single instance can exist


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: