Package akka.actor
Class Deployer
- java.lang.Object
-
- akka.actor.Deployer
-
- Direct Known Subclasses:
RemoteDeployer
public class Deployer extends java.lang.Object
Factory method for creatingRouterConfig
param: routerType the configured name of the router, or FQCN param: key the full configuration key of the deployment section param: config the user defined config of the deployment, without defaults param: deployment the deployment config, with defaults
-
-
Constructor Summary
Constructors Constructor Description Deployer(ActorSystem.Settings settings, DynamicAccess dynamicAccess)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected RouterConfig
createRouterConfig(java.lang.String routerType, java.lang.String key, com.typesafe.config.Config config, com.typesafe.config.Config deployment)
Factory method for creatingRouterConfig
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>
parseConfig(java.lang.String key, com.typesafe.config.Config config)
scala.collection.immutable.Map<java.lang.String,java.lang.String>
routerTypeMapping()
ActorSystem.Settings
settings()
-
-
-
Constructor Detail
-
Deployer
public Deployer(ActorSystem.Settings settings, DynamicAccess dynamicAccess)
-
-
Method Detail
-
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 creatingRouterConfig
- 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)
-
deploy
public void deploy(Deploy d)
-
dynamicAccess
public DynamicAccess dynamicAccess()
-
lookup
public scala.Option<Deploy> lookup(scala.collection.Iterable<java.lang.String> path)
-
parseConfig
public scala.Option<Deploy> parseConfig(java.lang.String key, com.typesafe.config.Config config)
-
routerTypeMapping
public scala.collection.immutable.Map<java.lang.String,java.lang.String> routerTypeMapping()
-
settings
public ActorSystem.Settings settings()
-
-