Factory factory pattern: easier than using a container

added by rdingwall
3/17/2010 3:37:00 PM

1 Kicks, 113 Views

Here’s a simple example of a class that creates file transfers using different protocols, which can be combined into a big queue later. It’s based loosely on something I wrote last week at work, and you can see some pretty classic examples of the Strategy and Abstract Factory patterns here.