Scala, Scala Programming, Programming, Design Patterns, Singleton Design Pattern.
ec2MemOptIns2: EC2Con = EC2ConnectionFactory.EC2MemOpt System.out.println("Establishing connection with references to the connector") System.out.println(ec2MemOptIns1.connect) System.out.println(ec2MemOptIns2.connect) System.out.println("Destroying connector")