@groovy.transform.CompileStatic class GrailsAutoConfiguration extends java.lang.Object implements GrailsApplicationClass, org.springframework.context.ApplicationContextAware
A base class for configurations that bootstrap a Grails application
Type | Name and description |
---|---|
org.springframework.context.ApplicationContext |
applicationContext |
Constructor and description |
---|
GrailsAutoConfiguration
() |
Type Params | Return Type | Name and description |
---|---|---|
|
java.util.Collection<java.lang.Class> |
classes()
|
|
void |
doWithApplicationContext() |
|
void |
doWithDynamicMethods() |
|
groovy.lang.Closure |
doWithSpring() |
|
Config |
getConfig() |
|
GrailsApplication |
getGrailsApplication() |
|
GrailsApplicationPostProcessor |
grailsApplicationPostProcessor()
|
|
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()
|
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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.
Groovy Documentation