Java org.springframework.scripting.groovy GroovyScriptFactory fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.scripting.groovy GroovyScriptFactory fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.scripting.groovy GroovyScriptFactory.

The text is from its open source code.

Constructor

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.

Method

ObjectgetScriptedObject(ScriptSource scriptSource, @Nullable Class... actualInterfaces)
Loads and parses the Groovy script via the GroovyClassLoader.