|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ClassInjector
An interface that when implemented allows additional properties to be injected into Grails classes at compile time (ie when they are loaded by the GroovyClassLoader)
Method Summary | |
---|---|
void |
performInjection(org.codehaus.groovy.control.SourceUnit source,
org.codehaus.groovy.classgen.GeneratorContext context,
org.codehaus.groovy.ast.ClassNode classNode)
Method that handles injection of properties, methods etc. into a class |
boolean |
shouldInject(URL url)
Returns whether this injector should inject |
Method Detail |
---|
void performInjection(org.codehaus.groovy.control.SourceUnit source, org.codehaus.groovy.classgen.GeneratorContext context, org.codehaus.groovy.ast.ClassNode classNode)
source
- The source unitcontext
- The generator contextclassNode
- The ClassNode instanceboolean shouldInject(URL url)
url
- The URL of the source file
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |