1 package org
.codehaus
.groovy
.grails
.plugins
.support
.aware
;
3 import org
.codehaus
.groovy
.grails
.commons
.GrailsApplication
;
6 * <p>Convenience interface that can be implemented by classes that are
7 * registered by plugins.</p>
9 * @author Steven Devijver
11 * @see GrailsApplication
13 public interface GrailsApplicationAware
{
15 * <p>This method is called by the {@link org.springframework.context.ApplicationContext} that
16 * loads the Grails application. The {@link GrailsApplication} instance that represents
17 * the loaded Grails application is injected.</p>
19 * @param grailsApplication the {@link GrailsApplication} object that represents this Grails application
21 void setGrailsApplication(GrailsApplication grailsApplication
);