@groovy.transform.CompileStatic // WARNING: Never add logging to the source of this class, early initialization causes problems class GrailsAutoConfiguration extends java.lang.Object
A base class for configurations that bootstrap a Grails application
Type | Name and description |
---|---|
org.springframework.context.ApplicationContext |
applicationContext |
Type Params | Return Type | Name and description |
---|---|---|
|
java.util.Collection<java.lang.Class> |
classes() @return The classes that constitute the Grails application |
|
void |
doWithApplicationContext() |
|
void |
doWithDynamicMethods() |
|
groovy.lang.Closure |
doWithSpring() |
|
Config |
getConfig() |
|
GrailsApplication |
getGrailsApplication() |
|
GrailsApplicationPostProcessor |
grailsApplicationPostProcessor() @return A post processor that uses the GrailsPluginManager to configure the org.springframework.context.ApplicationContext |
|
protected boolean |
limitScanningToApplication() Whether classpath scanning should be limited to the application and not dependent JAR files. |
|
void |
onConfigChange(java.util.Map<java.lang.String, java.lang.Object> event) |
|
void |
onShutdown(java.util.Map<java.lang.String, java.lang.Object> event) |
|
void |
onStartup(java.util.Map<java.lang.String, java.lang.Object> event) |
|
java.util.Collection<java.lang.String> |
packageNames()
|
|
java.util.Collection<java.lang.Package> |
packages() @return The packages to scan |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Whether classpath scanning should be limited to the application and not dependent JAR files. Users can override this method to enable more broad scanning at the cost of startup time.