Class KotlinScriptExecutor

java.lang.Object
org.springframework.integration.scripting.jsr223.AbstractScriptExecutor
org.springframework.integration.scripting.jsr223.KotlinScriptExecutor
All Implemented Interfaces:
ScriptExecutor

public class KotlinScriptExecutor extends AbstractScriptExecutor
An AbstractScriptExecutor for the Kotlin scripts support. Uses KotlinJsr223JvmLocalScriptEngineFactory directly since there is no META-INF/services/javax.script.ScriptEngineFactory file in CLASSPATH. Also sets an idea.use.native.fs.for.win system property to false to disable a native engine discovery for Windows: bay be resolved in the future Kotlin versions.
Since:
5.2
Author:
Artem Bilan
  • Constructor Details

    • KotlinScriptExecutor

      public KotlinScriptExecutor()
  • Method Details