Class AdminModel


  • public class AdminModel
    extends ConfigModel
    Config model adaptor of the Admin class.
    Author:
    Ulf Lilleengen
    • Constructor Detail

      • AdminModel

        public AdminModel​(ConfigModelContext modelContext,
                          java.util.Collection<ContainerModel> containerModels)
        Constructs a new config model given a context.
        Parameters:
        modelContext - the model context.
    • Method Detail

      • getAdmin

        public Admin getAdmin()
      • prepare

        public void prepare​(ConfigModelRepo configModelRepo,
                            DeployState deployState)
        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 class ConfigModel
        Parameters:
        configModelRepo - The ConfigModelRepo of the system model