Class ScriptFactory
java.lang.Object
org.finos.fluxnova.bpm.engine.impl.scripting.ScriptFactory
A script factory is responsible for creating ExecutableScript
instances. Users may customize (subclass) this class in order to customize script
creation.
The default executable script implementations created by this factory preserve
configured script preprocessing behavior automatically. Custom subclasses that
return their own ExecutableScript implementations should ensure that
configured script preprocessors are still applied before evaluation if they
want those custom implementations to participate in the script preprocessing
feature.
- Author:
- Daniel Meyer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateScriptFromResource(String language, String resource) createScriptFromResource(String language, Expression resourceExpression) createScriptFromSource(String language, String source) createScriptFromSource(String language, Expression sourceExpression)
-
Constructor Details
-
ScriptFactory
public ScriptFactory()
-
-
Method Details
-
createScriptFromResource
-
createScriptFromResource
-
createScriptFromSource
-
createScriptFromSource
-