Implement getScriptingEngine(): gets the evaluator's scripting engine,
creating and initializing it if necessary.
This commit is contained in:
parent
b21a0d8ddb
commit
e72037c35f
1 changed files with 10 additions and 0 deletions
|
@ -984,4 +984,14 @@ public final class RequestEvaluator implements Runnable {
|
|||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns this evaluator's scripting engine
|
||||
*/
|
||||
public ScriptingEngine getScriptingEngine() {
|
||||
if (scriptingEngine == null) {
|
||||
initScriptingEngine();
|
||||
}
|
||||
return scriptingEngine;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue