| 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 | 
|---|---|
| Object | ScriptEvaluator. evaluate(ScriptSource script)Evaluate the given script. | 
| Object | ScriptEvaluator. evaluate(ScriptSource script,
        Map<String,Object> arguments)Evaluate the given script with the given arguments. | 
| 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 | 
|---|---|
| Object | BshScriptFactory. getScriptedObject(ScriptSource scriptSource,
                 Class<?>... actualInterfaces)Load and parse the BeanShell script via  BshScriptUtils. | 
| Class<?> | BshScriptFactory. getScriptedObjectType(ScriptSource scriptSource) | 
| 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 | StandardScriptFactory. getScriptedObject(ScriptSource scriptSource,
                 Class<?>... actualInterfaces)Load and parse the script via JSR-223's ScriptEngine. | 
| Class<?> | StandardScriptFactory. getScriptedObjectType(ScriptSource scriptSource) |