Package | Description |
---|---|
org.springframework.scripting |
Core interfaces for Spring's scripting support.
|
org.springframework.scripting.bsh |
Package providing integration of
BeanShell
(and BeanShell2)
into Spring's scripting infrastructure.
|
org.springframework.scripting.groovy |
Package providing integration of
Groovy
into Spring's scripting infrastructure.
|
org.springframework.scripting.support |
Support classes for Spring's scripting package.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
ScriptEvaluator.evaluate(ScriptSource script)
Evaluate the given script.
|
java.lang.Object |
ScriptEvaluator.evaluate(ScriptSource script,
java.util.Map<java.lang.String,java.lang.Object> arguments)
Evaluate the given script with the given arguments.
|
java.lang.Object |
ScriptFactory.getScriptedObject(ScriptSource scriptSource,
java.lang.Class<?>... actualInterfaces)
Factory method for creating the scripted Java object.
|
java.lang.Class<?> |
ScriptFactory.getScriptedObjectType(ScriptSource scriptSource)
Determine the type of the scripted Java object.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
BshScriptFactory.getScriptedObject(ScriptSource scriptSource,
java.lang.Class<?>... actualInterfaces)
Load and parse the BeanShell script via
BshScriptUtils . |
java.lang.Class<?> |
BshScriptFactory.getScriptedObjectType(ScriptSource scriptSource) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
GroovyScriptFactory.executeScript(ScriptSource scriptSource,
java.lang.Class<?> scriptClass)
Instantiate the given Groovy script class and run it if necessary.
|
java.lang.Object |
GroovyScriptFactory.getScriptedObject(ScriptSource scriptSource,
java.lang.Class<?>... actualInterfaces)
Loads and parses the Groovy script via the GroovyClassLoader.
|
java.lang.Class<?> |
GroovyScriptFactory.getScriptedObjectType(ScriptSource scriptSource) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
StandardScriptFactory.getScriptedObject(ScriptSource scriptSource,
java.lang.Class<?>... actualInterfaces)
Load and parse the script via JSR-223's ScriptEngine.
|
java.lang.Class<?> |
StandardScriptFactory.getScriptedObjectType(ScriptSource scriptSource) |