Is there a way to implement this pattern in a generic way?
A dispatcher object and a bunch of worker objects all derive from the same interface.
Any method call into the dispatcher object needs to be dispatched (forwarded) to one of the worker objects (with all the arguments).
Each method would need to discover it's own name, find the corresponding method in the worker objects, discover the arguments, and then make the call. If possible, not using the variable argument mechanism.
Is there some way to do this? Reflection? Code generation?