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>
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
Fields inherited from class com.yahoo.component.AbstractComponent
isDeconstructable
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAccessLogs
(DeployState deployState, ApplicationContainerCluster cluster, Element spec) protected void
addHttp
(DeployState deployState, Element spec, ApplicationContainerCluster cluster, ConfigModelContext context) protected void
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
addClients, addReconfigurableZooKeeperServerComponents, handlesElements, isContainerTag
Methods inherited from class com.yahoo.config.model.builder.xml.ConfigModelBuilder
build, build, equals, getModelClass
Methods inherited from class com.yahoo.component.AbstractComponent
clone, compareTo, deconstruct, getClassName, getId, getIdString, hasInitializedId, initId, isDeconstructable, setIsDeconstructable, toString
-
Constructor Details
-
ConfigServerContainerModelBuilder
-
-
Method Details
-
doBuild
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.TreeConfigProducer<com.yahoo.config.model.producer.AnyConfigProducer>, 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
- 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
-
addModelEvaluationRuntime
- Overrides:
addModelEvaluationRuntime
in classContainerModelBuilder
-