public class SpringApplicationRunner extends Object
SpringApplication
.
Takes care of threading and class-loading issues and can optionally monitor sources for
changes.Constructor and Description |
---|
SpringApplicationRunner(SpringApplicationRunnerConfiguration configuration,
String[] sources,
String... args)
Create a new
SpringApplicationRunner instance. |
Modifier and Type | Method and Description |
---|---|
void |
compileAndRun()
Compile and run the application.
|
void |
stop() |
public SpringApplicationRunner(SpringApplicationRunnerConfiguration configuration, String[] sources, String... args)
SpringApplicationRunner
instance.configuration
- the configurationsources
- the files to compile/watchargs
- input argumentsCopyright © 2016 Pivotal Software, Inc.. All rights reserved.