| Package | Description |
|---|---|
| org.springframework.scripting |
Core interfaces for Spring's scripting support.
|
| org.springframework.scripting.groovy |
Package providing integration of
Groovy
into Spring's scripting infrastructure.
|
| org.springframework.scripting.jruby |
Package providing integration of
JRuby
into Spring's scripting infrastructure.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
ScriptFactory.getScriptedObject(ScriptSource scriptSource,
Class<?>... actualInterfaces)
Factory method for creating the scripted Java object.
|
Class<?> |
ScriptFactory.getScriptedObjectType(ScriptSource scriptSource)
Determine the type of the scripted Java object.
|
| Modifier and Type | Method and Description |
|---|---|
protected Object |
GroovyScriptFactory.executeScript(ScriptSource scriptSource,
Class<?> scriptClass)
Instantiate the given Groovy script class and run it if necessary.
|
Object |
GroovyScriptFactory.getScriptedObject(ScriptSource scriptSource,
Class<?>... actualInterfaces)
Loads and parses the Groovy script via the GroovyClassLoader.
|
Class<?> |
GroovyScriptFactory.getScriptedObjectType(ScriptSource scriptSource) |
| Modifier and Type | Method and Description |
|---|---|
Object |
JRubyScriptFactory.getScriptedObject(ScriptSource scriptSource,
Class<?>... actualInterfaces)
Load and parse the JRuby script via JRubyScriptUtils.
|
Class<?> |
JRubyScriptFactory.getScriptedObjectType(ScriptSource scriptSource) |
Copyright © 2015. All rights reserved.