|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Object org.grails.plugin.platform.injection.InjectionBuilderMethodDelegate
class InjectionBuilderMethodDelegate
Supports simple DSL for adding methods to classes
Property Summary | |
---|---|
java.lang.Object |
appContext
|
groovy.lang.Closure |
applicator
|
java.util.List |
results
|
java.lang.Object |
targetArtefact
|
java.lang.Class |
targetClass
|
Constructor Summary | |
InjectionBuilderMethodDelegate(java.lang.Class clazz, java.lang.Object artefact, groovy.lang.Closure applicator, java.lang.Object appContext)
|
Method Summary | |
---|---|
void
|
addMethod(java.lang.String name, groovy.lang.Closure code, java.lang.String declaringPlugin, java.util.Map meta = null)
|
java.util.List
|
build()
|
void
|
copyFrom(java.lang.Object bean, java.lang.String methodName, java.util.Map meta = null)
|
void
|
copyFrom(java.lang.Object bean, java.util.List methodNames, java.util.Map meta = null)
|
java.lang.Object
|
methodMissing(java.lang.String name, java.lang.Object args)
|
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Property Detail |
---|
java.lang.Object appContext
groovy.lang.Closure applicator
java.util.List results
java.lang.Object targetArtefact
java.lang.Class targetClass
Constructor Detail |
---|
InjectionBuilderMethodDelegate(java.lang.Class clazz, java.lang.Object artefact, groovy.lang.Closure applicator, java.lang.Object appContext)
Method Detail |
---|
void addMethod(java.lang.String name, groovy.lang.Closure code, java.lang.String declaringPlugin, java.util.Map meta = null)
java.util.List build()
void copyFrom(java.lang.Object bean, java.lang.String methodName, java.util.Map meta = null)
void copyFrom(java.lang.Object bean, java.util.List methodNames, java.util.Map meta = null)
java.lang.Object methodMissing(java.lang.String name, java.lang.Object args)
Groovy Documentation