Package grails.core.support
Interface GrailsApplicationAware
-
- All Superinterfaces:
org.springframework.beans.factory.Aware
- All Known Subinterfaces:
GrailsClass,GrailsControllerClass,GrailsDataSource,GrailsDomainClass,GrailsServiceClass,GrailsUrlMappingsClass,InjectableGrailsClass
- All Known Implementing Classes:
AbstractGrailsClass,AbstractInjectableGrailsClass,AnnotationDomainClassArtefactHandler,DefaultGrailsClass,DefaultGrailsControllerClass,DefaultGrailsDomainClass,DefaultGrailsServiceClass,DefaultGrailsUrlMappingsClass,DomainClassArtefactHandler,PluginAwareResourceBundleMessageSource
public interface GrailsApplicationAware extends org.springframework.beans.factory.AwareConvenience interface that can be implemented by classes that are registered by plugins.
- Since:
- 0.2
- See Also:
GrailsApplication
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsetGrailsApplication(GrailsApplication grailsApplication)This method is called by theApplicationContextthat loads the Grails application.
-
-
-
Method Detail
-
setGrailsApplication
void setGrailsApplication(GrailsApplication grailsApplication)
This method is called by the
ApplicationContextthat loads the Grails application. TheGrailsApplicationinstance that represents the loaded Grails application is injected.- Parameters:
grailsApplication- theGrailsApplicationobject that represents this Grails application
-
-