Scala, Design Patterns, Programming, Factory Pattern.
pattern. There is the Abstract Factory which provides the interface supplied by the factories to the clients. The concrete factories implement the Abstract Factory methods through which it instantiates the different concrete objects of each kind. And the factory of factories or Factory Provider