|
The Spring Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GroovyObjectCustomizer
Strategy used by GroovyScriptFactory
to allow the customization of
a created GroovyObject
.
This is useful to allow the authoring of DSLs, the replacement of missing
methods, and so forth. For example, a custom MetaClass
could be specified.
GroovyScriptFactory
Method Summary | |
---|---|
void |
customize(groovy.lang.GroovyObject goo)
Customize the supplied GroovyObject . |
Method Detail |
---|
void customize(groovy.lang.GroovyObject goo)
GroovyObject
.
For example, this can be used to set a custom metaclass to handle missing methods.
goo
- the GroovyObject
to customize
|
The Spring Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |