Class ConfigServerContainerModelBuilder
- java.lang.Object
-
- com.yahoo.component.AbstractComponent
-
- com.yahoo.config.model.builder.xml.ConfigModelBuilder<ContainerModel>
-
- com.yahoo.vespa.model.container.xml.ContainerModelBuilder
-
- com.yahoo.vespa.model.container.xml.ConfigServerContainerModelBuilder
-
- All Implemented Interfaces:
com.yahoo.component.Component
,com.yahoo.component.Deconstructable
,com.yahoo.config.model.api.ConfigModelPlugin
,Comparable<com.yahoo.component.Component>
public class ConfigServerContainerModelBuilder extends ContainerModelBuilder
Builds the config model for the standalone config server.- Author:
- Ulf Lilleengen
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.yahoo.vespa.model.container.xml.ContainerModelBuilder
ContainerModelBuilder.Networking
-
-
Field Summary
-
Fields inherited from class com.yahoo.vespa.model.container.xml.ContainerModelBuilder
configModelIds, log
-
-
Constructor Summary
Constructors Constructor Description ConfigServerContainerModelBuilder(CloudConfigOptions options)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addAccessLogs(DeployState deployState, ApplicationContainerCluster cluster, Element spec)
protected void
addHttp(DeployState deployState, Element spec, ApplicationContainerCluster cluster, ConfigModelContext context)
protected void
addModelEvaluationBundles(ApplicationContainerCluster cluster)
protected void
addStatusHandlers(ApplicationContainerCluster cluster, boolean isHostedVespa)
void
doBuild(ContainerModel model, Element spec, ConfigModelContext modelContext)
-
Methods inherited from class com.yahoo.vespa.model.container.xml.ContainerModelBuilder
addReconfigurableZooKeeperServerComponents, handlesElements, isContainerTag
-
Methods inherited from class com.yahoo.config.model.builder.xml.ConfigModelBuilder
build, build, equals, getModelClass
-
-
-
-
Constructor Detail
-
ConfigServerContainerModelBuilder
public ConfigServerContainerModelBuilder(CloudConfigOptions options)
-
-
Method Detail
-
doBuild
public void doBuild(ContainerModel model, Element spec, ConfigModelContext modelContext)
Description copied from class:ConfigModelBuilder
Convenience hook called fromConfigModelBuilder.build(com.yahoo.config.model.deploy.DeployState, com.yahoo.vespa.model.VespaModel, com.yahoo.config.model.ConfigModelRepo, com.yahoo.config.model.producer.AbstractConfigProducer<?>, org.w3c.dom.Element)
. Implement this method to build a config model.- Overrides:
doBuild
in classContainerModelBuilder
spec
- the XML element that this builder should handlemodelContext
- a model context that contains the application package and other data needed by the config model constructor
-
addStatusHandlers
protected void addStatusHandlers(ApplicationContainerCluster cluster, boolean isHostedVespa)
- Overrides:
addStatusHandlers
in classContainerModelBuilder
-
addAccessLogs
protected void addAccessLogs(DeployState deployState, ApplicationContainerCluster cluster, Element spec)
- Overrides:
addAccessLogs
in classContainerModelBuilder
-
addHttp
protected void addHttp(DeployState deployState, Element spec, ApplicationContainerCluster cluster, ConfigModelContext context)
- Overrides:
addHttp
in classContainerModelBuilder
-
addModelEvaluationBundles
protected void addModelEvaluationBundles(ApplicationContainerCluster cluster)
- Overrides:
addModelEvaluationBundles
in classContainerModelBuilder
-
-