Package org.apache.axis2.scripting
Class ScriptInvoker
- java.lang.Object
-
- org.apache.axis2.scripting.ScriptInvoker
-
public class ScriptInvoker extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.bsf.BSFEngine
engine
protected int
hotUpdateInterval
protected long
lastCheckTime
protected long
lastModified
protected File
scriptFile
-
Constructor Summary
Constructors Constructor Description ScriptInvoker(File scriptFile, int hotUpdateInterval)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
checkUpdate()
protected void
initEngine()
Object
invoke(String functionName, Object[] args)
protected String
readScript()
Reads the complete script source code into a String
-
-
-
Field Detail
-
scriptFile
protected File scriptFile
-
lastModified
protected long lastModified
-
lastCheckTime
protected long lastCheckTime
-
hotUpdateInterval
protected int hotUpdateInterval
-
engine
protected org.apache.bsf.BSFEngine engine
-
-
Constructor Detail
-
ScriptInvoker
public ScriptInvoker(File scriptFile, int hotUpdateInterval)
-
-