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.BSFEngineengineprotected inthotUpdateIntervalprotected longlastCheckTimeprotected longlastModifiedprotected FilescriptFile
-
Constructor Summary
Constructors Constructor Description ScriptInvoker(File scriptFile, int hotUpdateInterval)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcheckUpdate()protected voidinitEngine()Objectinvoke(String functionName, Object[] args)protected StringreadScript()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)
-
-