Support programatic declaration of cluster router, see #2103

* Ordinary withRouther withDeploy is TOO ugly for this
* Implicit conversion adds withClusterRouter to Props
  for Scala API
* Helper method in ClusterRouterPropsDecorator for Java API
This commit is contained in:
Patrik Nordwall 2012-08-30 10:06:12 +02:00
parent 695ce49727
commit b22a092932
4 changed files with 80 additions and 8 deletions

View file

@ -25,7 +25,7 @@ class ClusterActorRefProvider(
_dynamicAccess: DynamicAccess) extends RemoteActorRefProvider(
_systemName, _settings, _eventStream, _scheduler, _dynamicAccess) {
override val deployer: RemoteDeployer = new ClusterDeployer(settings, dynamicAccess)
override val deployer: ClusterDeployer = new ClusterDeployer(settings, dynamicAccess)
}