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 a SpringApplication. Takes care of threading and class-loading issues and can optionally monitor sources for changes.
Since:
1.0.0
Author:
Phillip Webb, Dave Syer
  • Method Details

    • compileAndRun

      public void compileAndRun() throws Exception
      Compile and run the application.
      Throws:
      Exception - on error
    • stop

      public void stop()