akka.actor
Class Deployer
java.lang.Object
akka.actor.Deployer
- Direct Known Subclasses:
- RemoteDeployer
public class Deployer
- extends java.lang.Object
Deployer maps actor paths to actor deployments.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Deployer
public Deployer(ActorSystem.Settings settings,
DynamicAccess dynamicAccess)
settings
public ActorSystem.Settings settings()
dynamicAccess
public DynamicAccess dynamicAccess()
routerTypeMapping
public scala.collection.immutable.Map<java.lang.String,java.lang.String> routerTypeMapping()
lookup
public scala.Option<Deploy> lookup(ActorPath path)
lookup
public scala.Option<Deploy> lookup(scala.collection.Iterable<java.lang.String> path)
lookup
public scala.Option<Deploy> lookup(scala.collection.Iterator<java.lang.String> path)
deploy
public void deploy(Deploy d)
parseConfig
public scala.Option<Deploy> parseConfig(java.lang.String key,
com.typesafe.config.Config config)
createRouterConfig
protected RouterConfig createRouterConfig(java.lang.String routerType,
java.lang.String key,
com.typesafe.config.Config config,
com.typesafe.config.Config deployment)
- Factory method for creating
RouterConfig
- Parameters:
routerType
- the configured name of the router, or FQCNkey
- the full configuration key of the deployment sectionconfig
- the user defined config of the deployment, without defaultsdeployment
- the deployment config, with defaults
- Returns:
- (undocumented)