public class ApplicationBootstrap extends Object
| Constructor and Description |
|---|
ApplicationBootstrap() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Clean up the resources used by this instance, if any.
|
ApplicationRunner |
getRunner() |
void |
run(Class<?> mainClass,
String... args)
Run the provided main class as a Spring Boot application with the provided command
line arguments.
|
public void run(Class<?> mainClass, String... args)
mainClass - the main classargs - the command line argumentspublic void close()
public ApplicationRunner getRunner()
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.