Uses of Interface
org.springframework.scripting.ScriptSource
Package
Description
Core interfaces for Spring's scripting support.
Package providing integration of
BeanShell
(and BeanShell2)
into Spring's scripting infrastructure.
Package providing integration of
Groovy
into Spring's scripting infrastructure.
Support classes for Spring's scripting package.
-
Uses of ScriptSource in org.springframework.scripting
Modifier and TypeMethodDescriptionScriptCompilationException.getScriptSource()
Return the source for the offending script.Modifier and TypeMethodDescriptionScriptEvaluator.evaluate
(ScriptSource script) Evaluate the given script.ScriptEvaluator.evaluate
(ScriptSource script, Map<String, Object> arguments) Evaluate the given script with the given arguments.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.boolean
ScriptFactory.requiresScriptedObjectRefresh
(ScriptSource scriptSource) Determine whether a refresh is required (for example, through ScriptSource'sisModified()
method).ModifierConstructorDescriptionScriptCompilationException
(ScriptSource scriptSource, String msg) Constructor for ScriptCompilationException.ScriptCompilationException
(ScriptSource scriptSource, String msg, Throwable cause) Constructor for ScriptCompilationException.ScriptCompilationException
(ScriptSource scriptSource, Throwable cause) Constructor for ScriptCompilationException. -
Uses of ScriptSource in org.springframework.scripting.bsh
Modifier and TypeMethodDescriptionBshScriptEvaluator.evaluate
(ScriptSource script) BshScriptEvaluator.evaluate
(ScriptSource script, Map<String, Object> arguments) BshScriptFactory.getScriptedObject
(ScriptSource scriptSource, Class<?>... actualInterfaces) Load and parse the BeanShell script viaBshScriptUtils
.Class<?>
BshScriptFactory.getScriptedObjectType
(ScriptSource scriptSource) boolean
BshScriptFactory.requiresScriptedObjectRefresh
(ScriptSource scriptSource) -
Uses of ScriptSource in org.springframework.scripting.groovy
Modifier and TypeMethodDescriptionGroovyScriptEvaluator.evaluate
(ScriptSource script) GroovyScriptEvaluator.evaluate
(ScriptSource script, Map<String, Object> arguments) protected Object
GroovyScriptFactory.executeScript
(ScriptSource scriptSource, Class<?> scriptClass) Instantiate the given Groovy script class and run it if necessary.GroovyScriptFactory.getScriptedObject
(ScriptSource scriptSource, Class<?>... actualInterfaces) Loads and parses the Groovy script via the GroovyClassLoader.Class<?>
GroovyScriptFactory.getScriptedObjectType
(ScriptSource scriptSource) boolean
GroovyScriptFactory.requiresScriptedObjectRefresh
(ScriptSource scriptSource) -
Uses of ScriptSource in org.springframework.scripting.support
Modifier and TypeClassDescriptionclass
ScriptSource
implementation based on Spring'sResource
abstraction.class
Static implementation of theScriptSource
interface, encapsulating a given String that contains the script source text.Modifier and TypeMethodDescriptionprotected ScriptSource
ScriptFactoryPostProcessor.convertToScriptSource
(String beanName, String scriptSourceLocator, ResourceLoader resourceLoader) Convert the given script source locator to a ScriptSource instance.protected ScriptSource
ScriptFactoryPostProcessor.getScriptSource
(String beanName, String scriptSourceLocator) Obtain a ScriptSource for the given bean, lazily creating it if not cached already.Modifier and TypeMethodDescriptionprotected Object
StandardScriptFactory.adaptToInterfaces
(Object script, ScriptSource scriptSource, Class<?>... actualInterfaces) protected BeanDefinition
ScriptFactoryPostProcessor.createScriptedObjectBeanDefinition
(BeanDefinition bd, String scriptFactoryBeanName, ScriptSource scriptSource, Class<?>[] interfaces) Create a bean definition for the scripted object, based on the given script definition, extracting the definition data that is relevant for the scripted object (that is, everything but bean class and constructor arguments).StandardScriptEvaluator.evaluate
(ScriptSource script) StandardScriptEvaluator.evaluate
(ScriptSource script, Map<String, Object> argumentBindings) protected Object
StandardScriptFactory.evaluateScript
(ScriptSource scriptSource) StandardScriptFactory.getScriptedObject
(ScriptSource scriptSource, Class<?>... actualInterfaces) Load and parse the script via JSR-223's ScriptEngine.Class<?>
StandardScriptFactory.getScriptedObjectType
(ScriptSource scriptSource) protected ScriptEngine
StandardScriptEvaluator.getScriptEngine
(ScriptSource script) Obtain the JSR-223 ScriptEngine to use for the given script.boolean
StandardScriptFactory.requiresScriptedObjectRefresh
(ScriptSource scriptSource) protected ScriptEngine
StandardScriptFactory.retrieveScriptEngine
(ScriptSource scriptSource) ModifierConstructorDescriptionRefreshableScriptTargetSource
(BeanFactory beanFactory, String beanName, ScriptFactory scriptFactory, ScriptSource scriptSource, boolean isFactoryBean) Create a new RefreshableScriptTargetSource.