Uses of Interface
org.springframework.scripting.ScriptSource
Packages that use ScriptSource 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.Uses of ScriptSource in org.springframework.scripting
Methods in org.springframework.scripting that return ScriptSource Modifier and Type Method Description ScriptSourceScriptCompilationException. getScriptSource()Return the source for the offending script.Methods in org.springframework.scripting with parameters of type ScriptSource Modifier and Type Method Description ObjectScriptEvaluator. evaluate(ScriptSource script)Evaluate the given script.ObjectScriptEvaluator. evaluate(ScriptSource script, Map<String,Object> arguments)Evaluate the given script with the given arguments.ObjectScriptFactory. 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.booleanScriptFactory. requiresScriptedObjectRefresh(ScriptSource scriptSource)Determine whether a refresh is required (e.g.Constructors in org.springframework.scripting with parameters of type ScriptSource Constructor Description ScriptCompilationException(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
Methods in org.springframework.scripting.bsh with parameters of type ScriptSource Modifier and Type Method Description ObjectBshScriptEvaluator. evaluate(ScriptSource script)ObjectBshScriptEvaluator. evaluate(ScriptSource script, Map<String,Object> arguments)ObjectBshScriptFactory. getScriptedObject(ScriptSource scriptSource, Class<?>... actualInterfaces)Load and parse the BeanShell script viaBshScriptUtils.Class<?>BshScriptFactory. getScriptedObjectType(ScriptSource scriptSource)booleanBshScriptFactory. requiresScriptedObjectRefresh(ScriptSource scriptSource)Uses of ScriptSource in org.springframework.scripting.groovy
Methods in org.springframework.scripting.groovy with parameters of type ScriptSource Modifier and Type Method Description ObjectGroovyScriptEvaluator. evaluate(ScriptSource script)ObjectGroovyScriptEvaluator. evaluate(ScriptSource script, Map<String,Object> arguments)protected ObjectGroovyScriptFactory. executeScript(ScriptSource scriptSource, Class<?> scriptClass)Instantiate the given Groovy script class and run it if necessary.ObjectGroovyScriptFactory. getScriptedObject(ScriptSource scriptSource, Class<?>... actualInterfaces)Loads and parses the Groovy script via the GroovyClassLoader.Class<?>GroovyScriptFactory. getScriptedObjectType(ScriptSource scriptSource)booleanGroovyScriptFactory. requiresScriptedObjectRefresh(ScriptSource scriptSource)Uses of ScriptSource in org.springframework.scripting.support
Classes in org.springframework.scripting.support that implement ScriptSource Modifier and Type Class Description classResourceScriptSourceScriptSourceimplementation based on Spring'sResourceabstraction.classStaticScriptSourceStatic implementation of theScriptSourceinterface, encapsulating a given String that contains the script source text.Methods in org.springframework.scripting.support that return ScriptSource Modifier and Type Method Description protected ScriptSourceScriptFactoryPostProcessor. convertToScriptSource(String beanName, String scriptSourceLocator, ResourceLoader resourceLoader)Convert the given script source locator to a ScriptSource instance.protected ScriptSourceScriptFactoryPostProcessor. getScriptSource(String beanName, String scriptSourceLocator)Obtain a ScriptSource for the given bean, lazily creating it if not cached already.Methods in org.springframework.scripting.support with parameters of type ScriptSource Modifier and Type Method Description protected ObjectStandardScriptFactory. adaptToInterfaces(Object script, ScriptSource scriptSource, Class<?>... actualInterfaces)protected BeanDefinitionScriptFactoryPostProcessor. 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).ObjectStandardScriptEvaluator. evaluate(ScriptSource script)ObjectStandardScriptEvaluator. evaluate(ScriptSource script, Map<String,Object> argumentBindings)protected ObjectStandardScriptFactory. evaluateScript(ScriptSource scriptSource)ObjectStandardScriptFactory. getScriptedObject(ScriptSource scriptSource, Class<?>... actualInterfaces)Load and parse the script via JSR-223's ScriptEngine.Class<?>StandardScriptFactory. getScriptedObjectType(ScriptSource scriptSource)protected ScriptEngineStandardScriptEvaluator. getScriptEngine(ScriptSource script)Obtain the JSR-223 ScriptEngine to use for the given script.booleanStandardScriptFactory. requiresScriptedObjectRefresh(ScriptSource scriptSource)protected ScriptEngineStandardScriptFactory. retrieveScriptEngine(ScriptSource scriptSource)Constructors in org.springframework.scripting.support with parameters of type ScriptSource Constructor Description RefreshableScriptTargetSource(BeanFactory beanFactory, String beanName, ScriptFactory scriptFactory, ScriptSource scriptSource, boolean isFactoryBean)Create a new RefreshableScriptTargetSource.