接口的使用
org.springframework.scripting.groovy.GroovyObjectCustomizer
使用GroovyObjectCustomizer的程序包 程序包 说明 org.springframework.scripting.groovy Package providing integration of Groovy into Spring's scripting infrastructure.org.springframework.scripting.groovy中GroovyObjectCustomizer的使用
参数类型为GroovyObjectCustomizer的org.springframework.scripting.groovy中的构造器 构造器 说明 GroovyScriptFactory(String scriptSourceLocator, GroovyObjectCustomizer groovyObjectCustomizer)
Create a new GroovyScriptFactory for the given script source, specifying a strategy interface that can create a custom MetaClass to supply missing methods and otherwise change the behavior of the object.