public interface GrailsApplicationAware
Convenience interface that can be implemented by classes that are registered by plugins.
GrailsApplication
Modifier and Type | Method and Description |
---|---|
void |
setGrailsApplication(GrailsApplication grailsApplication)
This method is called by the
org.springframework.context.ApplicationContext that
loads the Grails application. |
void setGrailsApplication(GrailsApplication grailsApplication)
This method is called by the org.springframework.context.ApplicationContext
that
loads the Grails application. The GrailsApplication
instance that represents
the loaded Grails application is injected.
grailsApplication
- the GrailsApplication
object that represents this Grails application