I have concrete factory classes which implement MyFactory interface. I  want to get concrete factory objects based on parameter. How to do this?One way is to create factory of factories[FoF],  and FoF would be parameterized factory.Is there any more elegant way to do this? This is purely intellectual exercise, I am not facing any problem in my project. 
Factory of factories?
design;design patterns;object oriented