@groovy.transform.CompileStatic class GrailsApplicationContextCommandRunner extends DevelopmentGrailsApplication
Modifiers | Name | Description |
---|---|---|
private java.lang.String |
commandName |
Fields inherited from class | Fields |
---|---|
class GrailsApp |
GRAILS_BANNER, SPRING_PROFILES, configuredEnvironment, developmentModeActive, directoryWatcher, enableBeanCreationProfiler |
Type | Name and description |
---|---|
java.lang.String |
commandName |
Constructor and description |
---|
protected GrailsApplicationContextCommandRunner
(java.lang.String commandName, java.lang.Class<?>[] sources) |
Methods inherited from class | Name |
---|---|
class DevelopmentGrailsApplication |
configureApplicationContextClass |
class GrailsApp |
compileGroovyFile, configureDirectoryWatcher, configureEnvironment, createApplicationContext, createPluginManagerListener, enableDevelopmentModeWatch, isDevelopmentModeActive, newMicronautContextBuilder, printRunStatus, recompile, run, run, run, setDevelopmentModeActive |
Main method to run an existing Application class
args
- The first argument is the Command name, the last argument is the Application class nameGroovy Documentation