use of org.sonar.server.plugins.ServerExtensionInstaller in project sonarqube by SonarSource.
the class PlatformLevel4 method start.
@Override
public PlatformLevel start() {
ServerExtensionInstaller extensionInstaller = get(ServerExtensionInstaller.class);
extensionInstaller.installExtensions(getContainer());
super.start();
return this;
}
use of org.sonar.server.plugins.ServerExtensionInstaller in project sonarqube by SonarSource.
the class ComputeEngineContainerImpl method start.
@Override
public ComputeEngineContainer start(Props props) {
this.level1 = new ComponentContainer();
this.level1.add(props.rawProperties()).add(level1Components()).add(toArray(CorePropertyDefinitions.all()));
configureFromModules(this.level1);
this.level1.startComponents();
ComponentContainer level2 = this.level1.createChild();
level2.add(level2Components());
configureFromModules(level2);
level2.startComponents();
ComponentContainer level3 = level2.createChild();
level3.add(level3Components());
configureFromModules(level3);
level3.startComponents();
this.level4 = level3.createChild();
this.level4.add(level4Components());
configureFromModules(this.level4);
ServerExtensionInstaller extensionInstaller = this.level4.getComponentByType(ServerExtensionInstaller.class);
extensionInstaller.installExtensions(this.level4);
this.level4.startComponents();
startupTasks();
return this;
}
Aggregations