Generic Chain of Responsibilty Builder

added by baldi
4/21/2010 10:01:33 PM

1 Kicks, 93 Views

What is really annoying at the chain of responsibilty pattern is to build the chain. If you add create a new class, which handles a new type of input, you must always remember that this new class must be added to the chain initialization. To solve this problem the chain must be built automatically.