+act #3900 make systemActorOf available to Extensions
This commit is contained in:
parent
8396e923cf
commit
b5eeb08fde
11 changed files with 22 additions and 18 deletions
|
|
@ -157,7 +157,7 @@ class Cluster(val system: ExtendedActorSystem) extends Extension {
|
|||
|
||||
// create supervisor for daemons under path "/system/cluster"
|
||||
private val clusterDaemons: ActorRef = {
|
||||
system.asInstanceOf[ActorSystemImpl].systemActorOf(Props(classOf[ClusterDaemon], settings).
|
||||
system.systemActorOf(Props(classOf[ClusterDaemon], settings).
|
||||
withDispatcher(UseDispatcher).withDeploy(Deploy.local), name = "cluster")
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue