Scala, Scala Programming, Programming, Design Patterns, Singleton Design Pattern.
trait or superclass. In the following link you can find an extend explanation about this pattern The Factory Design Patterns in Scala. In this case the factory object it’s EC2ConnectionFactory, that instantiates different objects that inherit from a given trait or superclass. The classes that will