public class ScriptInvoker
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.bsf.BSFEngine |
engine |
protected int |
hotUpdateInterval |
protected long |
lastCheckTime |
protected long |
lastModified |
protected java.io.File |
scriptFile |
| Constructor and Description |
|---|
ScriptInvoker(java.io.File scriptFile,
int hotUpdateInterval) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkUpdate() |
protected void |
initEngine() |
java.lang.Object |
invoke(java.lang.String functionName,
java.lang.Object[] args) |
protected java.lang.String |
readScript()
Reads the complete script source code into a String
|
protected java.io.File scriptFile
protected long lastModified
protected long lastCheckTime
protected int hotUpdateInterval
protected org.apache.bsf.BSFEngine engine
Copyright © 2004-2025 The Apache Software Foundation. All Rights Reserved.