Class ScriptExecutorFactory
java.lang.Object
org.springframework.integration.scripting.jsr223.ScriptExecutorFactory
The scripting configuration utilities.
- Since:
- 2.1
- Author:
- David Turanski, Artem Bilan
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
deriveLanguageFromFileExtension
(String scriptLocation) Derive a scripting language from the provided script file name.static ScriptExecutor
getScriptExecutor
(String language)
-
Method Details
-
getScriptExecutor
-
deriveLanguageFromFileExtension
Derive a scripting language from the provided script file name.- Parameters:
scriptLocation
- the script file to consult for extension.- Returns:
- the language name for the
ScriptExecutor
. - Since:
- 5.2
-