Class PrecompiledExecutable
- java.lang.Object
-
- de.hybris.platform.scripting.engine.impl.AbstractScriptExecutable
-
- de.hybris.platform.scripting.engine.impl.PrecompiledExecutable
-
- All Implemented Interfaces:
ScriptExecutable
public class PrecompiledExecutable extends AbstractScriptExecutable
-
-
Constructor Summary
Constructors Constructor Description PrecompiledExecutable(javax.script.CompiledScript compiledScript, java.util.Map<java.lang.String,java.lang.Object> globalContext, org.springframework.context.ApplicationContext appContext, AutoDisablingScriptStrategy autoDisablingScriptStrategy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ScriptExecutionResultexecute(javax.script.ScriptContext scriptContext)protected javax.script.ScriptEnginegetEngine()java.lang.StringtoString()-
Methods inherited from class de.hybris.platform.scripting.engine.impl.AbstractScriptExecutable
execute, execute, execute, getAsInterface, getAsInterface, isDisabled, prepareEngineContext
-
-
-
-
Constructor Detail
-
PrecompiledExecutable
public PrecompiledExecutable(javax.script.CompiledScript compiledScript, java.util.Map<java.lang.String,java.lang.Object> globalContext, org.springframework.context.ApplicationContext appContext, AutoDisablingScriptStrategy autoDisablingScriptStrategy)
-
-
Method Detail
-
getEngine
protected javax.script.ScriptEngine getEngine()
- Specified by:
getEnginein classAbstractScriptExecutable
-
execute
protected ScriptExecutionResult execute(javax.script.ScriptContext scriptContext)
- Specified by:
executein classAbstractScriptExecutable
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-