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, deployLoggerFields inherited from class com.yahoo.component.AbstractComponent
isDeconstructable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddAccessLogs(DeployState deployState, ApplicationContainerCluster cluster, Element spec) protected voidaddModelEvaluationRuntime(DeployState deployState, ApplicationContainerCluster cluster) protected voidaddStatusHandlers(ApplicationContainerCluster cluster, boolean isHostedVespa) voiddoBuild(ContainerModel model, Element spec, ConfigModelContext modelContext) Methods inherited from class com.yahoo.vespa.model.container.xml.ContainerModelBuilder
addClients, addHttp, addReconfigurableZooKeeperServerComponents, handlesElements, isContainerTagMethods inherited from class com.yahoo.config.model.builder.xml.ConfigModelBuilder
build, build, equals, getModelClassMethods 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:ConfigModelBuilderConvenience 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:
doBuildin classContainerModelBuilderspec- 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:
addStatusHandlersin classContainerModelBuilder
-
addAccessLogs
protected void addAccessLogs(DeployState deployState, ApplicationContainerCluster cluster, Element spec) - Overrides:
addAccessLogsin classContainerModelBuilder
-
addModelEvaluationRuntime
protected void addModelEvaluationRuntime(DeployState deployState, ApplicationContainerCluster cluster) - Overrides:
addModelEvaluationRuntimein classContainerModelBuilder
-