Class 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.
Method Detail
compileAndRun
public void compileAndRun() throws Exception
Compile and run the application.- Throws:
Exception
- on error
stop
public void stop()