Example usage for Java org.springframework.scripting.groovy GroovyScriptFactory fields, constructors, methods, implement or subclass
The text is from its open source code.
GroovyScriptFactory(String scriptSourceLocator, @Nullable 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. | |
GroovyScriptFactory(String scriptSourceLocator, @Nullable CompilerConfiguration compilerConfiguration) 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. | |
GroovyScriptFactory(String scriptSourceLocator, CompilationCustomizer... compilationCustomizers) Create a new GroovyScriptFactory for the given script source, specifying a strategy interface that can customize Groovy's compilation process within the underlying GroovyClassLoader. |
Object | getScriptedObject(ScriptSource scriptSource, @Nullable Class>... actualInterfaces) Loads and parses the Groovy script via the GroovyClassLoader. |