@groovy.transform.CompileStatic @GrailsBeans @org.springframework.boot.autoconfigure.AutoConfiguration(before: [PropertyPlaceholderAutoConfiguration]) @org.springframework.boot.autoconfigure.AutoConfigureOrder(value: Ordered.HIGHEST_PRECEDENCE) class CoreGrailsPlugin extends Plugin
Configures the core shared beans within the Grails application context.
| Type | Name and description |
|---|---|
java.lang.Object |
beans |
java.lang.Object |
version |
java.lang.Object |
watchedResources |
| Properties inherited from class | Properties |
|---|---|
class Plugin |
applicationContext, artefacts, environment, grailsApplication, plugin, pluginManager |
| Constructor and description |
|---|
CoreGrailsPlugin() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
BeanRegistrar |
beanRegistrar()Scans the packages named by grails.spring.bean.packages. |
|
void |
onChange(java.util.Map<java.lang.String, java.lang.Object> event) |
| Methods inherited from class | Name |
|---|---|
class Plugin |
beanRegistrar, beans, doWithApplicationContext, doWithDynamicMethods, doWithSpring, doWithSpring, getApplicationContext, getConfig, getManager, onChange, onConfigChange, onShutdown, onStartup, setApplicationContext |
Scans the packages named by grails.spring.bean.packages. Contributed here rather
than through doWithSpring's grailsContext:component-scan element, which
needs the XML namespace handler and therefore the bean builder DSL.