use of org.sonar.process.ProcessEntryPoint in project sonarqube by SonarSource.
the class HttpProcess method main.
public static void main(String[] args) {
ProcessEntryPoint entryPoint = ProcessEntryPoint.createForArguments(args);
entryPoint.launch(new HttpProcess(entryPoint.getProps().valueAsInt("httpPort"), entryPoint.getCommands()));
}
use of org.sonar.process.ProcessEntryPoint in project sonarqube by SonarSource.
the class SearchServer method main.
public static void main(String... args) {
ProcessEntryPoint entryPoint = ProcessEntryPoint.createForArguments(args);
new SearchLogging().configure(entryPoint.getProps());
SearchServer searchServer = new SearchServer(entryPoint.getProps());
entryPoint.launch(searchServer);
}
use of org.sonar.process.ProcessEntryPoint in project sonarqube by SonarSource.
the class CeServer method main.
/**
* Can't be started as is. Needs to be bootstrapped by sonar-application
*/
public static void main(String[] args) {
ProcessEntryPoint entryPoint = ProcessEntryPoint.createForArguments(args);
Props props = entryPoint.getProps();
new CeProcessLogging().configure(props);
CeServer server = new CeServer(new ComputeEngineImpl(props, new ComputeEngineContainerImpl()), new MinimumViableSystem(), new CeSecurityManager(new PluginSecurityManager(), props));
entryPoint.launch(server);
}
use of org.sonar.process.ProcessEntryPoint in project sonarqube by SonarSource.
the class InfiniteTerminationProcess method main.
public static void main(String[] args) {
ProcessEntryPoint entryPoint = ProcessEntryPoint.createForArguments(args);
entryPoint.launch(new InfiniteTerminationProcess());
}
use of org.sonar.process.ProcessEntryPoint in project sonarqube by SonarSource.
the class WebServer method main.
/**
* Can't be started as is. Needs to be bootstrapped by sonar-application
*/
public static void main(String[] args) {
ProcessEntryPoint entryPoint = ProcessEntryPoint.createForArguments(args);
Props props = entryPoint.getProps();
new WebServerProcessLogging().configure(props);
new WebSecurityManager(new PluginSecurityManager(), props).apply();
WebServer server = new WebServer(props);
entryPoint.launch(server);
}
Aggregations