Groovy Documentation

## org.codehaus.groovy.grails.plugins
[Java] Interface GrailsPlugin

    org.codehaus.groovy.grails.plugins.GrailsPlugin
      org.springframework.context.ApplicationContextAware

All Superinterfaces:
  ApplicationContextAware

    @SuppressWarnings("rawtypes")
    public interface GrailsPlugin
    extends ApplicationContextAware

Plugin interface that adds Spring org.springframework.beans.factory.config.BeanDefinitions to a registry based on a GrailsApplication object. After all `GrailsPlugin` classes have been processed the org.springframework.beans.factory.config.BeanDefinitions in the registry are loaded in a Spring org.springframework.context.ApplicationContext that's the singular configuration unit of Grails applications.

It's up to implementation classes to determine where `GrailsPlugin` instances are loaded from.

Authors:
  Steven Devijver
  Graeme Rocher

See Also:
  BeanDefinitionRegistry

Since:
  0.2

Groovy Documentation