Scala, Scala Programming, Programming, Design Patterns, Singleton Design Pattern.
EC2ConnectionFactory.destroyEC2MemOptIns System.out.println("Trying to establish connection with destroyed connector") System.out.println(ec2MemOptIns1.connect) } Singleton Design Pattern as an Anti-Pattern An anti-pattern is defined in the book AntiPatterns by Brown et al, 1998 as “A literary form