Scala, Scala Programming, Programming, Design Patterns, Singleton Design Pattern.
client by providing these two methods to access both delegators respectively. The following is the implementation of the factory. object EC2ConnectionFactory { private[complex] var ec2MemOptIns: Option[EC2MemOpt] = None private[complex] var ec2ComOptIns: Option[EC2ComOpt] = None def EC2MemOpt: