Overview | Package | Class | Deprecated | Index | Help
| Groovy Documentation
PREV NEXT | FRAMES NO FRAMES

## Package org.codehaus.groovy.grails.compiler.injection

Interface Summary
ClassInjector | When implemented allows additional properties to be injected into Grails classes at compile time (ie when they are loaded by the GroovyClassLoader).
GrailsDomainClassInjector | Mainly just a marker interface for implementations that perform injection on domain classes.

Class Summary
DefaultGrailsDomainClassInjector | Default implementation of domain class injector interface that adds the 'id' and 'version' properties and other previously boilerplate code.
EntityASTTransformation | Injects the necessary fields and behaviors into a domain class in order to make it a property GORM entity.
GlobalEntityASTTransformation | A global AST transformation that injects methods and properties into classes in the grails-app/domain directory.
GlobalPluginAwareEntityASTTransformation | Automatically annotates any class with @Plugin(name="foo") if it is a plugin resource.
GrailsASTUtils | Helper methods for working with Groovy AST trees.
GrailsAwareClassLoader | A class loader that is aware of Groovy sources and injection operations.
GrailsAwareInjectionOperation | A Groovy compiler injection operation that uses a specified array of ClassInjector instances to attempt AST injection.
GrailsInjectionOperation | A Groovy compiler operation that gets plugged into the GroovyClassLoader instance to add custom properties to classes at compile time.

Groovy Documentation