akka.actor
Class Deployer

java.lang.Object
  extended by akka.actor.Deployer
Direct Known Subclasses:
RemoteDeployer

public class Deployer
extends java.lang.Object

Deployer maps actor paths to actor deployments.


Constructor Summary
Deployer(ActorSystem.Settings settings, DynamicAccess dynamicAccess)
           
 
Method Summary
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
 void deploy(Deploy d)
           
 DynamicAccess dynamicAccess()
           
 scala.Option<Deploy> lookup(ActorPath path)
           
 scala.Option<Deploy> lookup(scala.collection.Iterable<java.lang.String> path)
           
 scala.Option<Deploy> lookup(scala.collection.Iterator<java.lang.String> path)
           
 scala.Option<Deploy> parseConfig(java.lang.String key, com.typesafe.config.Config config)
           
 scala.collection.immutable.Map<java.lang.String,java.lang.String> routerTypeMapping()
           
 ActorSystem.Settings settings()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Deployer

public Deployer(ActorSystem.Settings settings,
                DynamicAccess dynamicAccess)
Method Detail

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 FQCN
key - the full configuration key of the deployment section
config - the user defined config of the deployment, without defaults
deployment - the deployment config, with defaults
Returns:
(undocumented)