GRAILS-1019: Allowing expressions to be used with the 'disabled' attribute for g...
[grails.git] / src / commons / org / codehaus / groovy / grails / plugins / support / aware / GrailsApplicationAware.java
bloba2dcec2acf4461e6cab1bf7d7f438b19950f77c3
1 package org.codehaus.groovy.grails.plugins.support.aware;
3 import org.codehaus.groovy.grails.commons.GrailsApplication;
5 /**
6 * <p>Convenience interface that can be implemented by classes that are
7 * registered by plugins.</p>
9 * @author Steven Devijver
10 * @since 0.2
11 * @see GrailsApplication
13 public interface GrailsApplicationAware {
14 /**
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);