Scala, Scala Programming, Programming, Design Patterns, Singleton Design Pattern.
delegator instances through EC2MemOpt and EC2ComOpt methods from the factory, after accessing the id attribute or connection method from these classes, which both are implemented by the delegate singleton instances. The factory EC2ConnectionFactory hides this complexity of object creation from the