public class Deployer
extends java.lang.Object
Constructor and Description |
---|
Deployer(ActorSystem.Settings settings,
DynamicAccess dynamicAccess) |
Modifier and Type | Method and 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 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> |
parseConfig(java.lang.String key,
com.typesafe.config.Config config) |
scala.collection.immutable.Map<java.lang.String,java.lang.String> |
routerTypeMapping() |
ActorSystem.Settings |
settings() |
public Deployer(ActorSystem.Settings settings, DynamicAccess dynamicAccess)
public ActorSystem.Settings settings()
public DynamicAccess dynamicAccess()
public scala.collection.immutable.Map<java.lang.String,java.lang.String> routerTypeMapping()
public scala.Option<Deploy> lookup(scala.collection.Iterable<java.lang.String> path)
public void deploy(Deploy d)
public scala.Option<Deploy> parseConfig(java.lang.String key, com.typesafe.config.Config config)
protected RouterConfig createRouterConfig(java.lang.String routerType, java.lang.String key, com.typesafe.config.Config config, com.typesafe.config.Config deployment)
RouterConfig
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