public class ScriptEvaluatorFactory extends Object
ScriptEvaluator
s. This
class is thread-safe.Modifier and Type | Method and Description |
---|---|
static ScriptEvaluatorFactory |
getInstance()
Retrieves an instance of this factory.
|
ScriptEvaluator |
getScriptEvaluatorByLanguageName(String languageName)
Retrieves a script executor for the given language.
|
public static ScriptEvaluatorFactory getInstance()
public ScriptEvaluator getScriptEvaluatorByLanguageName(String languageName) throws ScriptException
languageName
- The name of a scripting language as expected by ScriptEngineManager.getEngineByName(String)
.ScriptException
- In case no JSR 223 compatible engine for the given language could be found.Copyright © 2007-2014 Red Hat Middleware, LLC. All Rights Reserved