|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object CompilationUnit.PrimaryClassNodeOperation org.codehaus.groovy.grails.compiler.injection.GrailsInjectionOperation
public class GrailsInjectionOperation extends PrimaryClassNodeOperation
A Groovy compiler operation that gets plugged into the GroovyClassLoader instance to add custom properties to classes at compile time.
Method Summary | |
---|---|
void
|
call(org.codehaus.groovy.control.SourceUnit source, org.codehaus.groovy.classgen.GeneratorContext context, org.codehaus.groovy.ast.ClassNode classNode)
|
void
|
setApplicationContext(ApplicationContext applicationContext)
|
void
|
setResourceLoader(GrailsResourceLoader resourceLoader)
|
Method Detail |
---|
@Override public void call(org.codehaus.groovy.control.SourceUnit source, org.codehaus.groovy.classgen.GeneratorContext context, org.codehaus.groovy.ast.ClassNode classNode)
public void setApplicationContext(ApplicationContext applicationContext)
public void setResourceLoader(GrailsResourceLoader resourceLoader)
Groovy Documentation