jboner/akka — comment on commit d9e0088f3cc537ea342f6fc4e99ee5319dfc94ae
File: akka-actor/src/main/scala/akka/AkkaApplication.scala line 174
By viktorklang:

Or switch to first allocating the objects, then call some init-method:

class AkkaApp {
val remoting = new Remoting
val pigdog = new Pigdog
def start() = {
remoting.start(this)
pigdog.start(this)
}
}