org.springframework.boot.cli.command.run

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.
    Author:
    Phillip Webb, Dave Syer
    • Method Detail

      • compileAndRun

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

        public void stop()