public class GrailsApplicationRunner 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.
Constructor and description |
---|
GrailsApplicationRunner(GrailsApplicationRunnerConfiguration configuration, String[] sources, String args) Create a new GrailsApplicationRunner instance. |
Type Params | Return Type | Name and description |
---|---|---|
|
public void |
compileAndRun() Compile and run the application. |
|
public void |
stop() |
Create a new GrailsApplicationRunner instance.
configuration
- the configurationsources
- the files to compile/watchargs
- input arguments