类 SpringApplicationRunner
- java.lang.Object
- org.springframework.boot.cli.command.run.SpringApplicationRunner
public class SpringApplicationRunner extends Object
Compiles Groovy code running the resulting classes using aSpringApplication
. Takes care of threading and class-loading issues and can optionally monitor sources for changes.
方法详细资料
compileAndRun
public void compileAndRun() throws Exception
Compile and run the application.- 抛出:
Exception
- on error
stop
public void stop()