Factory method pattern - Wikipedia, the free encyclopedia