@Component public class ScriptEngineProvider extends Object
| Constructor and Description |
|---|
ScriptEngineProvider()
Creates instance of script service with given sizes of engine cache and
script cache
|
| Modifier and Type | Method and Description |
|---|---|
ScriptEngine |
getScriptEngine(String scriptType) |
public ScriptEngineProvider()
engineCacheMinSize - Minimum (initial) size of script engine cacheengineCacheMaxSize - Maximum size of script engine cachescriptCacheMinSize - Minimum (initial) Size of script cachescriptCacheMaxSize - Maximum size of script cachepublic ScriptEngine getScriptEngine(String scriptType)
scriptType - Script type for which the script engine is to be fetchedCopyright © 2015–2016 eGovernments Foundation. All rights reserved.