|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hibernate.validator.util.scriptengine.ScriptEvaluatorFactory
public class ScriptEvaluatorFactory
Factory responsible for the creation of ScriptEvaluator
s. This
class is thread-safe.
Method Summary | |
---|---|
static ScriptEvaluatorFactory |
getInstance()
Retrieves an instance of this factory. |
ScriptEvaluator |
getScriptEvaluatorByLanguageName(String languageName)
Retrieves a script executor for the given language. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |