Package com.yahoo.config.model.admin
Class AdminModel
java.lang.Object
com.yahoo.config.model.ConfigModel
com.yahoo.config.model.admin.AdminModel
Config model adaptor of the Admin class.
- Author:
- Ulf Lilleengen
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Constructor Summary
ConstructorDescriptionAdminModel
(ConfigModelContext modelContext, Collection<ContainerModel> containerModels) Constructs a new config model given a context. -
Method Summary
Modifier and TypeMethodDescriptiongetAdmin()
void
prepare
(ConfigModelRepo configModelRepo, DeployState deployState) Prepares this model to start serving config requests, possibly using properties of other models.Methods inherited from class com.yahoo.config.model.ConfigModel
getId, initialize, isServing
-
Constructor Details
-
AdminModel
Constructs a new config model given a context.- Parameters:
modelContext
- the model context.
-
-
Method Details
-
getAdmin
-
prepare
Description copied from class:ConfigModel
Prepares this model to start serving config requests, possibly using properties of other models. The framework will call this method after models have been built. The model should finalize its configurations that depend on other models in this step. This default implementation does nothing.- Overrides:
prepare
in classConfigModel
- Parameters:
configModelRepo
- The ConfigModelRepo of the system model
-