Scala, Scala Programming, Programming, Design Patterns, Singleton Design Pattern.
delegate using the destroy method of the corresponding delegate intended to be destroyed. The factory method is necessary for providing instances to the client that extends the EC2Con abstract class in order to have more concise and easy to use code. This it’s achieved because in the client code