Groovy Documentation

org.grails.plugin.platform.injection
[Groovy] Class InjectionBuilderMethodDelegate

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

appContext

java.lang.Object appContext


applicator

groovy.lang.Closure applicator


results

java.util.List results


targetArtefact

java.lang.Object targetArtefact


targetClass

java.lang.Class targetClass


 
Constructor Detail

InjectionBuilderMethodDelegate

InjectionBuilderMethodDelegate(java.lang.Class clazz, java.lang.Object artefact, groovy.lang.Closure applicator, java.lang.Object appContext)


 
Method Detail

addMethod

void addMethod(java.lang.String name, groovy.lang.Closure code, java.lang.String declaringPlugin, java.util.Map meta = null)


build

java.util.List build()


copyFrom

void copyFrom(java.lang.Object bean, java.lang.String methodName, java.util.Map meta = null)


copyFrom

void copyFrom(java.lang.Object bean, java.util.List methodNames, java.util.Map meta = null)


methodMissing

java.lang.Object methodMissing(java.lang.String name, java.lang.Object args)


 

Groovy Documentation